User: starksm
Date: 01/04/18 15:37:52
Modified: src/build Tag: Branch_2_2 build.xml
Log:
Create the dist archives with a root directory equal to the JBoss-${version}
Revision Changes Path
No revision
No revision
1.58.2.3 +10 -2 jboss/src/build/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jboss/src/build/build.xml,v
retrieving revision 1.58.2.2
retrieving revision 1.58.2.3
diff -u -r1.58.2.2 -r1.58.2.3
--- build.xml 2001/04/12 02:31:04 1.58.2.2
+++ build.xml 2001/04/18 22:37:52 1.58.2.3
@@ -376,14 +376,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}"/>
+ </copy>
+ <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