User: starksm
Date: 01/04/18 15:38:36
Modified: src/build build.xml
Log:
Create the dist archives with a root directory equal to the JBoss-${version}
Revision Changes Path
1.63 +10 -2 jboss/src/build/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jboss/src/build/build.xml,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- build.xml 2001/04/16 19:31:11 1.62
+++ build.xml 2001/04/18 22:38:36 1.63
@@ -382,14 +382,22 @@
<!-- Packages the distribution with ZIP -->
<!-- =================================================================== -->
<target name="dist-zip" depends="dist">
- <zip zipfile="${Name}-${version}.zip" basedir="${dist.dir}" includes="**"/>
+ <mkdir dir="zip/${Name}-${version}" />
+ <copy todir="zip/${Name}-${version}">^
+ <fileset dir="${dist.dir}"/>^M
+ </copy>^M
+ <zip zipfile="${Name}-${version}.zip" basedir="zip"/>
</target>
<!-- =================================================================== -->
<!-- Packages the distribution with TAR-GZIP -->
<!-- =================================================================== -->
<target name="dist-tgz" depends="dist">
- <tar tarfile="${Name}-${version}.tar" basedir="${dist.dir}" includes="**"/>
+ <mkdir dir="tar/${Name}-${version}" />
+ <copy todir="tar/${Name}-${version}">
+ <fileset dir="${dist.dir}"/>
+ </copy>
+ <tar tarfile="${Name}-${version}.tar" basedir="tar" />
<gzip zipfile="${Name}-${version}.tar.gz" src="${Name}-${version}.tar"/>
</target>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development