On Wed, 2009-09-09 at 14:07 +0200, Hans Dockter wrote:
> On Sep 9, 2009, at 1:36 PM, Russel Winder wrote:
> 
> > As I understand it, gradlew downloads a gradle, it isn't a full gradle
> > instance itself.
> 
> You wouldn't want to have that in VCS, would you? Although you could  
> have the wrapper distribution in VCS.

Indeed.

It is just that Waf, and to a lesser extent SCons, have the great
ability to ship a complete build system as a single 80kb file dependent
only on a Python installation.  The trick used is to ship a Python
script that contains a compressed form of the system -- if it needs
extracting it does so.  The extracted system can be deleted.

Is there any way that Gradle Wrapper could become a single file?

> >  This means that a person has to have an Internet
> > connection for the first usage.  This could be seen as a bit of a
> > problem,
> 
> If Gradle is not installed on your machine you would also need an  
> internet connection. An gradlew is not mutually exclusive to gradle.  
> As long as the active gradle installation is compatible with the  
> gradlew version, you can use gradle, if it is installed.

My point is that if someone passes me a project on a memory stick in an
Internet free context and the project requires Gradle, and ships gradlew
then I still can't build it unless I already have Gradle installed.

Clearly not a big issue, just a real irritation when it happens.

-- 
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: [email protected]
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:[email protected]
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to