[jboss-cvs] JBossAS SVN: r111212 - in projects/jboss-jca/trunk: doc/samples/helloworld and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Apr 19 15:14:28 EDT 2011
Author: jesper.pedersen
Date: 2011-04-19 15:14:27 -0400 (Tue, 19 Apr 2011)
New Revision: 111212
Modified:
projects/jboss-jca/trunk/build.xml
projects/jboss-jca/trunk/doc/samples/helloworld/build.xml
Log:
Add dist-clean
Modified: projects/jboss-jca/trunk/build.xml
===================================================================
--- projects/jboss-jca/trunk/build.xml 2011-04-19 17:42:47 UTC (rev 111211)
+++ projects/jboss-jca/trunk/build.xml 2011-04-19 19:14:27 UTC (rev 111212)
@@ -417,7 +417,7 @@
<mkdir dir="${build.dir}/${name}-${major}.${minor}.${patch}.${type}/doc" />
<mkdir dir="${build.dir}/${name}-${major}.${minor}.${patch}.${type}/doc/spec" />
- <ant dir="${doc.dir}/samples/helloworld" target="clean" inheritRefs="false" inheritAll="false"/>
+ <ant dir="${doc.dir}/samples/helloworld" target="dist-clean" inheritRefs="false" inheritAll="false"/>
<ant dir="${doc.dir}/developerguide" target="pdf" inheritRefs="false" inheritAll="false"/>
<ant dir="${doc.dir}/userguide" target="pdf" inheritRefs="false" inheritAll="false"/>
Modified: projects/jboss-jca/trunk/doc/samples/helloworld/build.xml
===================================================================
--- projects/jboss-jca/trunk/doc/samples/helloworld/build.xml 2011-04-19 17:42:47 UTC (rev 111211)
+++ projects/jboss-jca/trunk/doc/samples/helloworld/build.xml 2011-04-19 19:14:27 UTC (rev 111212)
@@ -62,9 +62,16 @@
</path>
<!-- =================================
+ Target: init
+ ================================= -->
+ <target name="init">
+ <mkdir dir="${lib.dir}" />
+ </target>
+
+ <!-- =================================
Target: compile
================================= -->
- <target name="compile">
+ <target name="compile" depends="init">
<mkdir dir="${build.dir}" />
<javac srcdir="${basedir}/src/main/java"
@@ -92,7 +99,7 @@
<!-- =================================
Target: prepare-test
================================= -->
- <target name="prepare-test">
+ <target name="prepare-test" depends="init">
<mkdir dir="${build.dir}/test" />
<javac srcdir="src/test"
@@ -179,12 +186,18 @@
<include name="**/*.bak"/>
</fileset>
</delete>
- <delete includeemptydirs="true">
- <fileset dir="${lib.dir}" includes="**/*"/>
- </delete>
<delete dir="${build.dir}"/>
<delete dir="${target.dir}"/>
<delete dir="${basedir}/reports"/>
</target>
+ <!-- =================================
+ Target: dist-clean
+ ================================= -->
+ <target name="dist-clean" depends="init,clean">
+ <delete includeemptydirs="true">
+ <fileset dir="${lib.dir}" includes="**/*"/>
+ </delete>
+ </target>
+
</project>
More information about the jboss-cvs-commits
mailing list