You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@abdera.apache.org by jm...@apache.org on 2006/11/14 00:41:16 UTC
svn commit: r474583 - /incubator/abdera/java/trunk/build/build.xml
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/" />