cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-10201) Cordova-android not setting execute permissions on gradlew
Date Thu, 07 Jan 2016 21:14:39 GMT

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

Joe Bowser edited comment on CB-10201 at 1/7/16 9:14 PM:
---------------------------------------------------------

So, ./cordova/build is failing? Or you just want execute permissions on gradlew? Because the
former works on my machine, and I'm wondering if someone did this on purpose.  That's the
only reason I haven't changed the permission yet.


was (Author: bowserj):
So, /bin/build is failing? Or you just want execute permissions on gradlew? Because the former
works on my machine, and I'm wondering if someone did this on purpose.  That's the only reason
I haven't changed the permission yet.

> Cordova-android not setting execute permissions on gradlew
> ----------------------------------------------------------
>
>                 Key: CB-10201
>                 URL: https://issues.apache.org/jira/browse/CB-10201
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 5.0.0
>         Environment: OSX
>            Reporter: Billy Catherall
>            Priority: Minor
>              Labels: newbie, triaged
>
> When cordova build copies the gradlew script into the platform directory it doesn't set
the +x flag so the script throws a permissions error during build.
> ERROR building one of the platforms: Error: /xxx/platforms/android/gradlew: Command failed
with exit code EACCES
> This can be fixed in bin/templates/cordova/lib/builders/GradleBuilder.js bu adding 'shell.chmod('u+x',
path.join(self.root, 'gradlew'));' just after 'shell.cp(path.join(wrapperDir, 'gradlew'),
self.root);' around line 150.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message