[jboss-cvs] JBossAS SVN: r104648 - projects/jboss-jca/trunk/codegenerator/src/main/resources.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon May 10 21:39:07 EDT 2010
Author: jeff.zhang
Date: 2010-05-10 21:39:07 -0400 (Mon, 10 May 2010)
New Revision: 104648
Modified:
projects/jboss-jca/trunk/codegenerator/src/main/resources/build.xml.template
Log:
modify build.xml.template for directory of generation code
Modified: projects/jboss-jca/trunk/codegenerator/src/main/resources/build.xml.template
===================================================================
--- projects/jboss-jca/trunk/codegenerator/src/main/resources/build.xml.template 2010-05-11 00:58:12 UTC (rev 104647)
+++ projects/jboss-jca/trunk/codegenerator/src/main/resources/build.xml.template 2010-05-11 01:39:07 UTC (rev 104648)
@@ -3,6 +3,7 @@
<!-- =================================
Properties
================================= -->
+ <property name="build.dir" value="${basedir}/build" />
<property name="target.dir" value="${basedir}/target" />
<property name="lib.dir" value="${basedir}/../../../lib" />
@@ -16,10 +17,10 @@
Target: compile
================================= -->
<target name="compile">
- <mkdir dir="${target.dir}" />
+ <mkdir dir="${build.dir}" />
<javac srcdir="${basedir}/src"
- destdir="${target.dir}"
+ destdir="${build.dir}"
classpathref="lib.path.id">
</javac>
</target>
@@ -28,12 +29,12 @@
Target: rar
================================= -->
<target name="rar" depends="compile">
- <mkdir dir="${basedir}/rar" />
- <jar destfile="${basedir}/rar/jca-ra.jar"
- basedir="${basedir}/target"
+ <mkdir dir="${target.dir}" />
+ <jar destfile="${build.dir}/jca-ra.jar"
+ basedir="${build.dir}"
includes="**/*.class"/>
- <jar destfile="${basedir}/rar/jca-test.rar"
- basedir="${basedir}/rar"
+ <jar destfile="${target.dir}/jca-test.rar"
+ basedir="${build.dir}"
includes="**/*.jar"/>
</target>
</project>
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list