[izpack-changes] r1599 - izpack-src/branches/branch-3.9/src

noreply at berlios.de noreply at berlios.de
Thu Sep 14 20:58:29 CEST 2006


Author: eppelman
Date: 2006-09-14 20:58:28 +0200 (Thu, 14 Sep 2006)
New Revision: 1599

Modified:
   izpack-src/branches/branch-3.9/src/ant.properties
   izpack-src/branches/branch-3.9/src/build.xml
Log:
Request for source release:
Created an ant target, that tars&gzips a fresh checkout src-tree.
This will be put in _src_dist/IzPack.src.3.9.0-M1.tar.gz.
If a "dist" was made prior, it will be be better to call ant clean.src.tar.gz
Otherwise the new Target src.tar.gz is prepended as first target while run of "ant dist".


Modified: izpack-src/branches/branch-3.9/src/ant.properties
===================================================================
--- izpack-src/branches/branch-3.9/src/ant.properties	2006-09-13 20:15:36 UTC (rev 1598)
+++ izpack-src/branches/branch-3.9/src/ant.properties	2006-09-14 18:58:28 UTC (rev 1599)
@@ -2,3 +2,4 @@
 dist.dir=${basedir}/${dist.subdir}
 build.subdir=_build
 build.dir=${basedir}/${build.subdir}
+product=IzPack
\ No newline at end of file

Modified: izpack-src/branches/branch-3.9/src/build.xml
===================================================================
--- izpack-src/branches/branch-3.9/src/build.xml	2006-09-13 20:15:36 UTC (rev 1598)
+++ izpack-src/branches/branch-3.9/src/build.xml	2006-09-14 18:58:28 UTC (rev 1599)
@@ -835,11 +835,12 @@
     	    <delete file="bin/native/3rdparty/COIOSHelper.dll" />
         <delete dir="${basedir}/bin/native/izpack" />
         <delete includeEmptyDirs="true" dir="${basedir}/doc/izpack" />
+        <delete dir="${basedir}/_src${dist.subdir}"/>
     </target>
 
     <!-- Builds all compilation targets -->
     <target name="all"
-            depends="splashscreen, build.compiler, build.installer, build.uninstaller, build.uninstaller-ext, build.panels, build.listeners, build.standalone-compiler" description="base: compiles a developer version"/>
+            depends="splashscreen, src.tar.gz, build.compiler, build.installer, build.uninstaller, build.uninstaller-ext, build.panels, build.listeners, build.standalone-compiler" description="base: compiles a developer version"/>
 
     <!-- Builds the Javadoc -->
     <target name="build.javadoc" depends="prepare" description="Builds the javadoc">
@@ -1005,7 +1006,7 @@
     <target name="generate.installer" depends="prepare.install.dist">
         <antcall target="exec.izpack.compiler">
             <param name="installer.xmlfile" value="IzPack-install.xml" />
-            <param name="installer.name" value="IzPack-install-" />
+            <param name="installer.name" value="${product}-install-" />
         </antcall>
     </target>
 
@@ -1056,7 +1057,26 @@
     <target name="cleandistreg"
             depends="clean, splashscreen, dist, generate.installer"
             description="creates a full dist with Win32 uninstall registry support" />
+  
+    <!-- ================================= 
+          target: clean.src.tar.gz              
+         ================================= -->
+    <target name="clean.src.tar.gz" depends="clean, src.tar.gz" description="--> creates a src.tar.gz after clean up">
+    </target>
 
+  
+    <!-- ================================= 
+          target: src.tar.gz              
+         ================================= -->
+    <target name="src.tar.gz"  description="--> creates a src.tar.gz ">
+      <mkdir dir="${basedir}/_src${dist.subdir}"/>
+      <property name="src.tar" value="${basedir}/_src${dist.subdir}/${product}.src.${ver}.${rel}.tar"/>
+      <property name="src.tar.gz" value="${src.tar}.gz"/>
+      <tar destfile="${src.tar}" basedir="${basedir}" excludes="_src${dist.subdir}/**, _dist/**, _build/**, bin/panels/**, bin/customActions/**, doc/izpack/**, eclipse-bin/**, lib/standalone-compiler.jar, lib/izevent.jar, lib/uninstaller*, lib/installer.jar, lib/compiler.jar"/> 
+      <gzip src="${src.tar}" destfile="${src.tar.gz}"/>        
+    </target>
+
+
     <!-- convenient :) makes a quick dist (w/o docu), an installer and run them. -->
     <target name="quickdist+run"
             depends="quickdist, run.installer"




More information about the izpack-changes mailing list