You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Denis Obydennykh (JIRA)" <ji...@apache.org> on 2014/04/08 13:40:14 UTC

[jira] [Commented] (CB-6404) Cordova build fails with EACCESS error

    [ https://issues.apache.org/jira/browse/CB-6404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13962789#comment-13962789 ] 

Denis Obydennykh commented on CB-6404:
--------------------------------------

The problem was that path to ant was set as:

~/path/to/bin/ant

After changing to

/full/path/to/bin/ant

The error has gone and build is successful. Seems that problem was here. But by some magic - some times this configuration was working.

> Cordova build fails with EACCESS error
> --------------------------------------
>
>                 Key: CB-6404
>                 URL: https://issues.apache.org/jira/browse/CB-6404
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.4.0
>            Reporter: Denis Obydennykh
>
> I've got sencha touch project. Doing sencha "app build native" fails with error at cordova part.
> Error can be reproduced calling separately "cordova build":
> Running command: project/cordova/platforms/android/cordova/build args=[]
> execvp(): Permission denied
> events.js:72
>     throw er; // Unhandled 'error' event
>           ^
> Error: spawn EACCES
>     at errnoException (child_process.js:980:11)
>     at Process.ChildProcess._handle.onexit (child_process.js:771:34)
> Error: /Users/denisobydennyh/sites/checkdrive/phone-   app/src/main/webapp/cordova/platforms/android/cordova/build: Command failed with exit code 8
> at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/src/superspawn.js:112:23)
> at ChildProcess.EventEmitter.emit (events.js:98:17)
> at maybeClose (child_process.js:735:16)
> at Process.ChildProcess._handle.onexit (child_process.js:802:5)
> Previously it was working. Ant is accessible. "build" file has execute flag for all. Project dir has 777 permissions.
> Cordova version 3.4 Ant version 1.9.2
> What can be the source of error?



--
This message was sent by Atlassian JIRA
(v6.2#6252)