Dear Rene

ยจ

thanks for your comment.

 

BUT as long as ant does not do as it should it might be a gradel dev issue to 
get things fixed. Hence my posting in this forum. Its said now, and nobody can 
claim not being made aware.

 

Josef

 

--- see a mail from my friend Philippe Vouters to the same theme.

 

Dear Josef,

To address your concern about Maven, Gruwy and Gradle, one thing they have to 
do if Ant does not enable proxy access when authorization is required is to 
invoke a Java class such like I describe at 
http://vouters.dyndns.org/tima/All-OS-ANT-ANT_and_URLs_authentication.html 
<http://vouters.dyndns.org/tima/All-OS-ANT-ANT_and_URLs_authentication.html> . 
This is as long as standard Ant does not enable proxy access with 
authentication.

If you read this document carefully, you will notice that the code pulls in 
org.apache.tools.ant.launch.Launcher. This is what Maven, Gruwy and Gradle do 
directly, bypassing any fetch of http.proxyUser and http.proxyPassword.

This bypassing is the reason why you get fooled at your office.



 

 

Von: Rene Groeschke [mailto:[email protected]] 
Gesendet: Freitag, 26. Juli 2013 00:36
An: [email protected]
Betreff: Re: [gradle-dev] gradle and ant version to use

 

you should use the gradle forum for these kind of questions. this list is for 
discussing dev issues of gradle itself.

 

in short, gradle ships with a full ant distribution. gradle shouldnt  rely on a 
pre installed versions of ant. furthermore there are subtil differences in 
different ant versions which would be hard to maintain. 

 

cheers,

rene

--

Rene Groeschke

 

Email:  [email protected]

twitter: @breskeby

Blog:    http://www.breskeby.com


Am 25.07.2013 um 09:17 schrieb "Stadelmann Josef" 
<[email protected]>:

        How can I define which of my installed ant version gradle shall use ?

        why does gradle not rely and ANT_HOME or GRADLES_ANT_HOME environment 
variable pointing to ant home, your own patched ant version ready to do proxys 
for ant correct?

        Josef

Reply via email to