On Thu, 2009-12-17 at 08:40 -0500, Paul Speed wrote:
> I'm running the build from Dec 15th and your task works for me if I 
> change gantPrefix to 'test' (since I don't have gantPrefix defined).
> 
> It puts the contents of my src directory into the zip with src under a 
> 'test' directory... which is I expect what you intend.
> 
> Just to check, I reverted it to be exactly as you have and defined my 
> own gantPrefix and it still works.
> 
> What version of gradle are you running?

I am using up-to-date trunk and also the 2009-11-18 Gradle Wrapper.

I just tried:

task trialZip ( type : Zip ) {
  into ( 'test' ) 
  from ( 'src' )
}

on its own in a completely separate build file and I get an NPE.

So the problem cannot be the build file per se it must be something in
the Gant hierarchy or my set up -- but I can run gradle srcZip in Gradle
and it works.

This is getting incomprehensible. 

-- 
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