Carlos Antonio created CB-7098:
----------------------------------
Summary: AppHarness project creation script fails on missing file
Key: CB-7098
URL: https://issues.apache.org/jira/browse/CB-7098
Project: Apache Cordova
Issue Type: Bug
Components: AppHarness
Environment: OSX 10.9.3
Reporter: Carlos Antonio
Priority: Blocker
{code:title=Output}
$ ./createproject.sh foobar
cordova-app-harness/git/master
Creating a new cordova project with name "CordovaAppHarness" and id
"org.apache.appharness" at location
"/Users/carlos/Development/Contributions/cordova-app-harness/foobar"
Using custom www assets from
/Users/carlos/Development/Contributions/cordova-app-harness/www
+ cordova platform add android
Creating android project...
Creating Cordova project for the Android platform:
Path: platforms/android
Package: org.apache.appharness
Name: CordovaAppHarness
Android target: android-19
Copying template files...
Running: android update project --subprojects --path "platforms/android"
--target android-19 --library "CordovaLib"
Resolved location of library project to:
/Users/carlos/Development/Contributions/cordova-app-harness/foobar/platforms/android/CordovaLib
Updated and renamed default.properties to project.properties
Updated local.properties
No project name specified, using Activity name 'CordovaAppHarness'.
If you wish to change it, edit the first line of build.xml.
Added file platforms/android/build.xml
Added file platforms/android/proguard-project.txt
Updated project.properties
Updated local.properties
No project name specified, using project folder name 'CordovaLib'.
If you wish to change it, edit the first line of build.xml.
Added file platforms/android/CordovaLib/build.xml
Added file platforms/android/CordovaLib/proguard-project.txt
Project successfully created.
+ set +x
fs.js:427
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT, no such file or directory
'platforms/android/src/org/chromium/appdevtool/ChromeAppDeveloperTool.java'
at Object.fs.openSync (fs.js:427:18)
at Object.fs.readFileSync (fs.js:284:15)
at [stdin]:4:25
at Object.<anonymous> ([stdin]-wrapper:6:22)
at Module._compile (module.js:456:26)
at evalScript (node.js:532:25)
at Socket.<anonymous> (node.js:154:11)
at Socket.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)