[jira] [Commented] (CB-12500) CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL behave wrongly on Ubuntu

2017-02-27 Thread zhuisui (JIRA)

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

zhuisui commented on CB-12500:
--

I wrote this in ~/.profile.
{export 
CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL="$HOME/.gradle/wrapper/dists/gradle-2.14.1-all/53l0mv9mggp9q5m2ip574m21oh/gradle-2.14.1-all.zip"}
Then, cordova got it.

> CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL behave wrongly on Ubuntu
> 
>
> Key: CB-12500
> URL: https://issues.apache.org/jira/browse/CB-12500
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 6.5.0
> Environment: Ubuntu 16.10
>Reporter: zhuisui
>
> After I set CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL env  starting with /, 
> `cordova build` print error, and it shows that cordova read gradle path as 
> '$project/platforms/android/gradle/wrapper$CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL'.
>  So it treat this url starting with / as a relative path. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (CB-12500) CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL behave wrongly on Ubuntu

2017-02-27 Thread Kerri Shotts (JIRA)

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

Kerri Shotts commented on CB-12500:
---

Can you share exact duplication steps?

> CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL behave wrongly on Ubuntu
> 
>
> Key: CB-12500
> URL: https://issues.apache.org/jira/browse/CB-12500
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 6.5.0
> Environment: Ubuntu 16.10
>Reporter: zhuisui
>
> After I set CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL env  starting with /, 
> `cordova build` print error, and it shows that cordova read gradle path as 
> '$project/platforms/android/gradle/wrapper$CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL'.
>  So it treat this url starting with / as a relative path. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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