abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r474583 - /incubator/abdera/java/trunk/build/build.xml
Date Mon, 13 Nov 2006 23:41:16 GMT
Author: jmsnell
Date: Mon Nov 13 15:41:16 2006
New Revision: 474583

URL: http://svn.apache.org/viewvc?view=rev&rev=474583
Log:
Add the examples to the distribution zip.

Modified:
    incubator/abdera/java/trunk/build/build.xml

Modified: incubator/abdera/java/trunk/build/build.xml
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/build/build.xml?view=diff&rev=474583&r1=474582&r2=474583
==============================================================================
--- incubator/abdera/java/trunk/build/build.xml (original)
+++ incubator/abdera/java/trunk/build/build.xml Mon Nov 13 15:41:16 2006
@@ -428,6 +428,7 @@
   
   <target name="zip" depends="retro"> 
     <mkdir dir="${work}/dist/${ant.project.name}.${version}"/>
+    <mkdir dir="${work}/dist/${ant.project.name}.${version}/examples" />
     <copy todir="${work}/dist/${ant.project.name}.${version}">
       <fileset dir="${dist}">
         <include name="**/*.jar" />
@@ -444,10 +445,14 @@
         <include name="README" />
       </fileset>
     </copy>
+    <copy todir="${work}/dist/${ant.project.name}.${version}/examples">
+      <fileset dir="${basedir}/examples" includes="**/*" excludes="**/pom.xml" />
+    </copy>
     <zip destfile="${basedir}/${ant.project.name}.${version}.zip" 
          basedir="${work}/dist/" />
     <delete dir="${work}/dist/${ant.project.name}.${version}" />
     <mkdir dir="${work}/dist/${ant.project.name}.${version}.jdk142"/>
+    <mkdir dir="${work}/dist/${ant.project.name}.${version}.jdk142/examples"/>
     <copy todir="${work}/dist/${ant.project.name}.${version}.jdk142">
       <fileset dir="${dist}">
         <include name="**/*.jar" />
@@ -461,6 +466,9 @@
         <include name="NOTICE" />
         <include name="README" />
       </fileset>
+    </copy>
+    <copy todir="${work}/dist/${ant.project.name}.${version}.jdk142/examples">
+      <fileset dir="${basedir}/examples" includes="**/*" excludes="**/pom.xml"/>
     </copy>
     <zip destfile="${basedir}/${ant.project.name}.${version}.jdk142.zip" 
          basedir="${work}/dist/" />



Mime
View raw message