When I try to do a release:build-distribution-src on either my Windows XP in Cygwin or my Linux box it
tries to tar my root directory.


I've read through the code and from what I can see it should be trying to gzip '${maven.scm.checkout.dir}/${maven.scm.cvs.module}'.

Instead it tries to zip root like this:
|release:build-distribution-src:
[tar] [DEBUG] Tar$TarFileSet: Setup scanner in dir \ with patternSet{ includes: [] excludes: [] }
|
I've debugged the properties by adding echo statements to the plugin.jelly:|
<goal name="release:build-distribution-src" prereqs="release:init,scm:checkout-project">
<echo>dir="${maven.scm.checkout.dir}/${maven.scm.cvs.module}"</echo>
<archive:gzip name="${releaseNameSrc}" dir="${maven.scm.checkout.dir}/${maven.scm.cvs.module}"/>
<archive:zip name="${releaseNameSrc}" dir="${maven.scm.checkout.dir}/${maven.scm.cvs.module}"/>
</goal>
|
And indeed, I get a statement like this: '[echo] dir="/"'|


<repository>
<connection>scm:cvs:pserver:[EMAIL PROTECTED]:/usr/local/cvs/wrycanCode:classwell/contentmodel</connection> <developerConnection>scm:cvs:pserver:[EMAIL PROTECTED]:/usr/local/cvs/wrycanCode:/classwell/contentmodel</developerConnection>
</repository>
|
I guess I could use some general help or examples of proper use of the release plugin. I've also been playing with the
release:build-distribution-bin goal, and this seems to create empty zip and tar files in my target directory.|
|


Christopher Farnham
Senior Consultant at Wrycan, Inc.

[EMAIL PROTECTED]
http://www.wrycan.com



Reply via email to