Author: hardy.ferentschik
Date: 2009-01-19 12:23:34 -0500 (Mon, 19 Jan 2009)
New Revision: 13130
Modified:
workspace/max/jpaap/test/build.xml
Log:
some build script cleanup
Modified: workspace/max/jpaap/test/build.xml
===================================================================
--- workspace/max/jpaap/test/build.xml 2009-01-19 17:18:14 UTC (rev 13129)
+++ workspace/max/jpaap/test/build.xml 2009-01-19 17:23:34 UTC (rev 13130)
@@ -7,15 +7,13 @@
<property name="source" value="1.6"/>
<property name="src.dir" value="${basedir}/src"/>
<property name="build.dir" value="${basedir}/target"/>
- <property name="gen.dir"
value="${build.dir}/gen-src"/>
<property name="classes.dir"
value="${build.dir}/classes"/>
- <property name="jar.name" value="jpaap"/>
+ <property name="jar.name" value="test"/>
<tstamp/>
<condition property="jpaap.available">
<available
classname="org.jboss.jpa.metamodel.ap.JPAMetaModelEntityProcessor"/>
</condition>
<path id="lib.path">
- <pathelement location="${classes.dir}"/>
<fileset dir="${basedir}/../javax.persistence/target">
<include name="**/*.jar"/>
</fileset>
@@ -44,7 +42,6 @@
<!-- COMPILE TARGET -->
<target name="compile" depends="init,compile-dependend">
<mkdir dir="${classes.dir}"/>
- <mkdir dir="${gen.dir}"/>
<echo message="${ant.project.name}: ${ant.file}"/>
<javac debug="true" debuglevel="${debuglevel}"
destdir="${classes.dir}" source="${source}"
target="${target}">
<src path="${src.dir}"/>
@@ -56,7 +53,8 @@
<target name="jar" depends="compile">
<jar basedir="${classes.dir}"
jarfile="${build.dir}/${jar.name}.jar"
- includes="**/*.*">
+ includes="**/*.*"
+ excludes="**/*.java">
<manifest>
<attribute name="Built-By"
value="${user.name}"/>
</manifest>