Scarab commit: svn commit: r10598 - trunk/build/build.xml

[email protected]
Newsgroups gmane.comp.java.scarab.cvs
Message-ID <[email protected]>
Author: ronvoe122
Date: 2008-08-03 09:19:31-0700
New Revision: 10598

Modified:
   trunk/build/build.xml

Log:
SCB2553: the ant target package should archive the scarab root directory instead of its parent. Thanks to Johannes Hoechstaedter.

Modified: trunk/build/build.xml
Url: http://scarab.tigris.org/source/browse/scarab/trunk/build/build.xml?view=diff&rev=10598&p1=trunk/build/build.xml&p2=trunk/build/build.xml&r1=10597&r2=10598
==============================================================================
--- trunk/build/build.xml	(original)
+++ trunk/build/build.xml	2008-08-03 09:19:31-0700
@@ -470,22 +470,22 @@
     <!-- Packages the distribution with ZIP                                 -->
     <!-- ================================================================== -->
     <target name="package-zip" depends="dist">
-        <delete file="../${final.name}.zip" quiet="true" />
-        <zip zipfile="../${final.name}.zip" 
-             basedir="../" includes="**/${final.name}/**"/>
+        <delete file="./${final.name}.zip" quiet="true" />
+        <zip zipfile="./${final.name}.zip" 
+             basedir="./" includes="**/${final.name}/**"/>
     </target>
 
     <!-- ================================================================== -->
     <!-- Packages the distribution with TAR-GZIP                            -->
     <!-- ================================================================== -->
     <target name="package-tgz" depends="dist">
-        <delete file="../${final.name}.tar" quiet="true"/>
-        <delete file="../${final.name}.tar.gz" quiet="true" />
-        <tar longfile="gnu" tarfile="../${final.name}.tar" 
-             basedir="../" includes="**/${final.name}/**"/>
-        <gzip zipfile="../${final.name}.tar.gz" 
-                  src="../${final.name}.tar"/>
-        <delete file="../${final.name}.tar"/>
+        <delete file="./${final.name}.tar" quiet="true"/>
+        <delete file="./${final.name}.tar.gz" quiet="true" />
+        <tar longfile="gnu" tarfile="./${final.name}.tar" 
+             basedir="./" includes="**/${final.name}/**"/>
+        <gzip zipfile="./${final.name}.tar.gz" 
+                  src="./${final.name}.tar"/>
+        <delete file="./${final.name}.tar"/>
     </target>
 
     <!-- ================================================================== -->
@@ -498,12 +498,12 @@
         <copy todir="${final.dir}" preservelastmodified="true"
               includeEmptyDirs="false">
 
-        	<fileset dir="../">
+        	<fileset dir="${root.dir}">
                 <include name="**/tomcat/logs/README**"/>
                 <include name="**/www/repository/**"/>
             </fileset>
 
-        	<fileset dir="../">
+        	<fileset dir="${root.dir}">
                 <exclude name="**/build/nightly.sh"/>
                 <exclude name="**/build/run-tests*"/>
                 <exclude name="**/build/velocity.log*"/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.