On 4/04/10 2:43 AM, Russel Winder wrote:
This may be something wrong with the Gant build specification, in which
case it would be good to get some pointers as to what the problem is.
My current hypothesis though is that Gradle trunk has a problem. The
issue relates to the building of tarballs and zip files for the
distributions -- the Gant 1.9.2 distribution has failed to push out all
the needed tarballs and zipfiles.
I have a task:
task binTgz ( type : Tar , dependsOn : 'jar' , description : 'Build the
distribution tarball.' ) {
baseName = artifact
classifier = mavenNameExtension + '-' + groovyVersion
compression = Compression.GZIP
into ( gantPrefix ) { from binCopySpec }
This should be '{ with binCopySpec }'. The 'from' was renamed to 'with'
when you're adding another CopySpec.
Perhaps from() should delegate to with() when it is passed a CopySpec.
Or perhaps copy() should throw an exception when passed a CopySpec, as
it's almost certainly not what you want to do.
Unfortunately, we don't have a 'breaking changes' page for our 'breaking
changes' page to let people know about these sorts of changes. Not sure
how we can deal with this sort of thing, from a process point of view.
--
Adam Murdoch
Gradle Developer
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email