在OEPE中调试MAF应用程序时出错(Attemp to unlock)

时间:2016-08-29 21:38:44

标签: java android oracle-maf

我正在使用Oracle Enteprise pack for Eclipse开发MAF应用程序。当我调试我的项目时,出错了。我不知道发生了什么事。 有一个日志。

   Buildfile: C:\MAF apps\Employee\.main.android\bin\build.xml
     [echo] basedir = C:\MAF apps\Employee\.main.android\bin
     [echo] manifest.file = C:\MAF apps\Employee\.main.android\build\debug/AndroidManifest.xml
Trying to override old definition of task gettype
Trying to override old definition of task gettarget
configure-common.init:
globals.init:
stage.init:
configure.configure:
     [echo] Original configure
fars.init:
application.init:
-ensureKeystoreProperties:
maybeCreateKeyStore:
     [exec] Generating 2?048 bit RSA key pair and self-signed certificate (SHA256withRSA) with a validity of 14?000 days
     [exec]     for: CN=Android Debug, O=Android, C=US
     [exec] [Storing C:\MAF apps\Employee\.main.android\build\debug.keystore]
android.init:
init:
-createStaging:
    [mkdir] Created dir: C:\MAF apps\Employee\.main.android\build\debug\src
-executeBuildTemplate:
     [echo] @drawable/adfmf_icon
[build-template] {  "unzips": {    "expandZip": [      {        "zipSrc": "$${template.root.dir}/Android/Oracle_ADFmf_Framework.zip",        "zipDest": "$${build.root.dir}/assets",        "patternSets": [          {            "includes": [              "framework/Android/build/java_res/assets/**"            ]          }        ],        "globFrom": "framework/Android/build/java_res/assets/*",        "globTo": "*"      },      {        "zipSrc": "$${template.root.dir}/javascript/ADFmf_AmxJavascript_$${oepe.adfmf.build.mode}.zip",        "zipDest": "$${build.root.dir}/assets/www/js",        "patternSets": [          {            "includes": [              "www/js/**"            ]          }        ],        "globFrom": "www/js/*",        "globTo": "*"      },      {        "zipSrc": "$${template.root.dir}/javascript/Android/ADFmf_AmxJavascript_$${oepe.adfmf.build.mode}_Android.zip",        "zipDest": "$${build.root.dir}/assets/www/js",        "patternSets": [          {            "includes": [              "www/js/**"            ]          }        ],        "globFrom": "www/js/*",        "globTo": "*"      },      {        "zipSrc": "$${template.root.dir}/Android/Oracle_ADFmf_Framework.zip",        "zipDest": "$${build.root.dir}/assets/jvm/lib",        "patternSets": [          {            "includes": [              "framework/Common/build/jar/**"            ]          }        ],        "globFrom": "framework/Common/build/jar/*",        "globTo": "*"      },      {        "zipSrc": "$${template.root.dir}/Android/Oracle_ADFmf_Framework.zip",        "zipDest": "$${build.root.dir}/res",        "patternSets": [          {            "includes": [              "framework/Android/build/res/**"            ]          }        ],        "globFrom": "framework/Android/build/res/*",        "globTo": "*"      },      {        "zipSrc": "$${template.root.dir}/Android/Oracle_ADFmf_Framework.zip",        "zipDest": "$${build.root.dir}/res",        "patternSets": [          {            "includes": [              "framework/Android/template/res/**"            ]          }        ],        "globFrom": "framework/Android/template/res/*",        "globTo": "*"      },      {        "zipSrc": "$${template.root.dir}/Android/Oracle_ADFmf_Framework.zip",        "zipDest": "$${build.root.dir}",        "patternSets": [          {            "includes": [              "framework/Android/template/AndroidManifest.template.xml"            ]          }        ],        "globFrom": "framework/Android/template/AndroidManifest.template.xml",        "globTo": "AndroidManifest.xml"      },      {        "zipSrc": "$${template.root.dir}/Android/Oracle_ADFmf_Framework.zip",        "zipDest": "$${build.root.dir}/lib/x86",        "patternSets": [          {            "includes": [              "framework/Android/build/java_res/libs/x86/**"            ]          }        ],        "globFrom": "framework/Android/build/java_res/libs/x86/*",        "globTo": "*"      },      {         "zipSrc": "$${template.root.dir}/Android/Oracle_ADFmf_Framework.zip",        "zipDest": "$${build.root.dir}/lib/armeabi",        "patternSets": [          {            "includes": [              "framework/Android/build/java_res/libs/armeabi/**"            ]          }        ],        "globFrom": "framework/Android/build/java_res/libs/armeabi/*",        "globTo": "*"      },      {        "zipSrc": "$${template.root.dir}/Android/Oracle_ADFmf_Framework.zip",        "zipDest": "$${build.root.dir}",        "patternSets": [          {            "includes": [              "framework/Android/build/java_res/jvmlibs.zip"            ]          }        ],        "globFrom": "framework/Android/build/java_res/*",        "globTo": "*"      },      {        "zipSrc": "$${template.root.dir}/Android/Oracle_ADFmf_Framework.zip",        "zipDest": "$${build.root.dir}",        "patternSets": [          {            "includes": [              "framework/Android/build/java_res/assets/**"            ]          }        ],        "globFrom": "framework/Android/build/java_res/*",        "globTo": "*"      },      {        "zipSrc": "$${template.root.dir}/Android/Oracle_ADFmf_Framework.zip",        "zipDest": "$${build.root.dir}",        "patternSets": [          {            "includes": [              "framework/Android/build/java_res/handlers.json",              "framework/Android/build/java_res/maf-skins-info.json"            ]          }        ],         "globFrom": "framework/Android/build/java_res/*",        "globTo": "*"      },      {        "zipSrc": "$${template.root.dir}/Android/Oracle_ADFmf_Framework.zip",        "zipDest": "$${build.root.dir}/precompilejars",        "patternSets": [          {            "includes": [              "framework/Android/build/jar/**"            ]          }        ],        "globFrom": "framework/Android/build/jar/*",        "globTo": "*"      }    ]  },  "copies": {    "copy": [      {        "toDir": "$${build.root.dir}/.adf/META-INF",        "overwrite": false,        "force": false,        "fileList": [          {            "dir": "$${template.root.dir}/configService",            "includes": [              "**"            ]          }        ]      }     ]   }};
     [null] Copying 1 file to C:\MAF apps\Employee\.main.android\build\debug\.adf\META-INF
[build-template] Expanding: C:\Eclipse\plugins\oracle.eclipse.tools.maf.rt.v23_2.3.0.201605191642\rt\oracle.maf.v23_20160427\Android\Oracle_ADFmf_Framework.zip into C:\MAF apps\Employee\.main.android\build\debug\assets
[build-template] Expanding: C:\Eclipse\plugins\oracle.eclipse.tools.maf.rt.v23_2.3.0.201605191642\rt\oracle.maf.v23_20160427\javascript\ADFmf_AmxJavascript_debug.zip into C:\MAF apps\Employee\.main.android\build\debug\assets\www\js
[build-template] Expanding: C:\Eclipse\plugins\oracle.eclipse.tools.maf.rt.v23_2.3.0.201605191642\rt\oracle.maf.v23_20160427\javascript\Android\ADFmf_AmxJavascript_debug_Android.zip into C:\MAF apps\Employee\.main.android\build\debug\assets\www\js
[build-template] Expanding: C:\Eclipse\plugins\oracle.eclipse.tools.maf.rt.v23_2.3.0.201605191642\rt\oracle.maf.v23_20160427\Android\Oracle_ADFmf_Framework.zip into C:\MAF apps\Employee\.main.android\build\debug\assets\jvm\lib
[build-template] Expanding: C:\Eclipse\plugins\oracle.eclipse.tools.maf.rt.v23_2.3.0.201605191642\rt\oracle.maf.v23_20160427\Android\Oracle_ADFmf_Framework.zip into C:\MAF apps\Employee\.main.android\build\debug\res
[build-template] Expanding: C:\Eclipse\plugins\oracle.eclipse.tools.maf.rt.v23_2.3.0.201605191642\rt\oracle.maf.v23_20160427\Android\Oracle_ADFmf_Framework.zip into C:\MAF apps\Employee\.main.android\build\debug\res
[build-template] Expanding: C:\Eclipse\plugins\oracle.eclipse.tools.maf.rt.v23_2.3.0.201605191642\rt\oracle.maf.v23_20160427\Android\Oracle_ADFmf_Framework.zip into C:\MAF apps\Employee\.main.android\build\debug
[build-template] Expanding: C:\Eclipse\plugins\oracle.eclipse.tools.maf.rt.v23_2.3.0.201605191642\rt\oracle.maf.v23_20160427\Android\Oracle_ADFmf_Framework.zip into C:\MAF apps\Employee\.main.android\build\debug\lib\x86
[build-template] Expanding: C:\Eclipse\plugins\oracle.eclipse.tools.maf.rt.v23_2.3.0.201605191642\rt\oracle.maf.v23_20160427\Android\Oracle_ADFmf_Framework.zip into C:\MAF apps\Employee\.main.android\build\debug\lib\armeabi
[build-template] Expanding: C:\Eclipse\plugins\oracle.eclipse.tools.maf.rt.v23_2.3.0.201605191642\rt\oracle.maf.v23_20160427\Android\Oracle_ADFmf_Framework.zip into C:\MAF apps\Employee\.main.android\build\debug
[build-template] Expanding: C:\Eclipse\plugins\oracle.eclipse.tools.maf.rt.v23_2.3.0.201605191642\rt\oracle.maf.v23_20160427\Android\Oracle_ADFmf_Framework.zip into C:\MAF apps\Employee\.main.android\build\debug
[build-template] Expanding: C:\Eclipse\plugins\oracle.eclipse.tools.maf.rt.v23_2.3.0.201605191642\rt\oracle.maf.v23_20160427\Android\Oracle_ADFmf_Framework.zip into C:\MAF apps\Employee\.main.android\build\debug
[build-template] Expanding: C:\Eclipse\plugins\oracle.eclipse.tools.maf.rt.v23_2.3.0.201605191642\rt\oracle.maf.v23_20160427\Android\Oracle_ADFmf_Framework.zip into C:\MAF apps\Employee\.main.android\build\debug\precompilejars
-process-adf-android-manifest-template:
-process-adf-template:
-checkPlugmanTools:
     [echo] Checking for cordova install tools under C:\MAF apps\.metadata\.plugins\oracle.eclipse.tools.adf.mobile\d\c_2.3.0
     [echo] cordovaToolsPresent: ${cordovaToolsPresent}
-doMac:
-doUnix:
-doWindows:
    [unzip] Expanding: C:\Eclipse\plugins\oracle.eclipse.tools.maf.rt.v23_2.3.0.201605191642\rt\oracle.maf.v23_20160427\tools\npm.zip into C:\MAF apps\.metadata\.plugins\oracle.eclipse.tools.adf.mobile\d\c_2.3.0\plugman
     [exec] npm ERR! Error: Attempt to unlock C:\Eclipse\plugins\oracle.eclipse.tools.maf.rt.v23_2.3.0.201605191642\rt/oracle.maf.v23_20160427/tools/plugman.tgz, which hasn't been locked
     [exec] npm ERR!     at unlock (C:\MAF apps\.metadata\.plugins\oracle.eclipse.tools.adf.mobile\d\c_2.3.0\plugman\node_modules\npm\lib\cache.js:1434:11)
     [exec] npm ERR!     at cb (C:\MAF apps\.metadata\.plugins\oracle.eclipse.tools.adf.mobile\d\c_2.3.0\plugman\node_modules\npm\lib\cache.js:925:5)
     [exec] npm ERR!     at C:\MAF apps\.metadata\.plugins\oracle.eclipse.tools.adf.mobile\d\c_2.3.0\plugman\node_modules\npm\lib\cache.js:942:20
     [exec] npm ERR!     at C:\MAF apps\.metadata\.plugins\oracle.eclipse.tools.adf.mobile\d\c_2.3.0\plugman\node_modules\npm\lib\cache.js:1412:20
     [exec] npm ERR!     at C:\MAF apps\.metadata\.plugins\oracle.eclipse.tools.adf.mobile\d\c_2.3.0\plugman\node_modules\npm\node_modules\mkdirp\index.js:25:29
     [exec] npm ERR!     at C:\MAF apps\.metadata\.plugins\oracle.eclipse.tools.adf.mobile\d\c_2.3.0\plugman\node_modules\npm\node_modules\mkdirp\index.js:25:29
     [exec] npm ERR!     at C:\MAF apps\.metadata\.plugins\oracle.eclipse.tools.adf.mobile\d\c_2.3.0\plugman\node_modules\npm\node_modules\mkdirp\index.js:25:29
     [exec] npm ERR!     at C:\MAF apps\.metadata\.plugins\oracle.eclipse.tools.adf.mobile\d\c_2.3.0\plugman\node_modules\npm\node_modules\mkdirp\index.js:37:53
     [exec] npm ERR!     at FSReqWrap.oncomplete (fs.js:82:15)
     [exec] npm ERR! If you need help, you may report this *entire* log,
     [exec] npm ERR! including the npm and node versions, at:
     [exec] npm ERR!     <http://github.com/npm/npm/issues>
     [exec] npm ERR! System Windows_NT 10.0.10586
     [exec] npm ERR! command "C:\\MAF apps\\.metadata\\.plugins\\oracle.eclipse.tools.adf.mobile\\d\\c_2.3.0\\plugman\\node.exe" "C:\\MAF apps\\.metadata\\.plugins\\oracle.eclipse.tools.adf.mobile\\d\\c_2.3.0\\plugman\\node_modules\\npm\\bin\\npm-cli.js" "install" "-prefix" "C:\\MAF apps\\.metadata\\.plugins\\oracle.eclipse.tools.adf.mobile\\d\\c_2.3.0/plugman" "C:\\Eclipse\\plugins\\oracle.eclipse.tools.maf.rt.v23_2.3.0.201605191642\\rt/oracle.maf.v23_20160427/tools/plugman.tgz"
     [exec] npm ERR! cwd C:\MAF apps\Employee\.main.android\bin
     [exec] npm ERR! node -v v4.2.1
     [exec] npm ERR! npm -v 1.4.9
     [exec] npm ERR! 
     [exec] npm ERR! Additional logging details can be found in:
     [exec] npm ERR!     C:\MAF apps\Employee\.main.android\bin\npm-debug.log
     [exec] npm ERR! not ok code 0

BUILD FAILED
C:\MAF apps\Employee\.main.android\bin\build-stage.xml:86: exec returned: 1

Total time: 31 seconds`

某些扩展文件存在问题,或者类似于某些问题。尝试解锁某些内容时出错。我真的输了。

0 个答案:

没有答案