You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2014/07/14 15:40:04 UTC
[jira] [Resolved] (CB-7098) AppHarness project creation script
fails on missing file
[ https://issues.apache.org/jira/browse/CB-7098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Grieve resolved CB-7098.
-------------------------------
Resolution: Fixed
Assignee: Andrew Grieve
Thanks Carlos! Looks like this was fixed with commit (which I assume you saw since you've closed your PR, but documenting for others):
https://github.com/apache/cordova-app-harness/commit/ed0c8310b6f2fa1ac70c47a19fcc9f25e36c4efb
> 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
> Assignee: Andrew Grieve
> Priority: Blocker
> Labels: newbie
>
> {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)