Author: stliu
Date: 2010-02-25 08:35:11 -0500 (Thu, 25 Feb 2010)
New Revision: 18886
Modified:
entitymanager/branches/v3_3_2_GA_CP/build.xml
Log:
clean build script
Modified: entitymanager/branches/v3_3_2_GA_CP/build.xml
===================================================================
--- entitymanager/branches/v3_3_2_GA_CP/build.xml 2010-02-25 13:30:22 UTC (rev 18885)
+++ entitymanager/branches/v3_3_2_GA_CP/build.xml 2010-02-25 13:35:11 UTC (rev 18886)
@@ -1,6 +1,6 @@
<!--
- Hibernate Annotations ANT build script.
+ Hibernate EntityManager ANT build script.
You need JDK 5.0 installed to build Hibernate EntityManager.
@@ -24,28 +24,16 @@
<property name="javac.source" value="1.5"/>
<property name="javac.target" value="1.5"/>
<property name="common.dir" value="${basedir}"/>
-
<available property="jpa-present" file="${basedir}/../jpa-api"
type="dir"/>
- <!-- property name="jpa-api.jar"
value="${basedir}/../jpa-api/build/ejb3-persistence.jar"/>
- <property name="annotations.jar"
-
value="${basedir}/../annotations/target/hibernate-annotations/hibernate-annotations.jar"/>
- <property name="commons-annotations.jar"
-
value="${basedir}/../commons-annotations/target/hibernate-commons-annotations/hibernate-commons-annotations.jar"/
-->
<property name="ivy.dep.dir" value="${basedir}/build/lib"
/>
-
<import file="${common.dir}/common-build.xml"/>
<property name="jpa-javadoc.dir"
value="${dist.doc.dir}/jpa-api"/>
-
-
<property name="resources.dir" value="src/resources"/>
<property name="testresources.dir"
value="src/test-resources"/>
<property name="build.testresources.dir"
value="${build.dir}/testresources"/>
<property name="build.temp.dir"
value="${build.dir}/temp"/>
<path id="lib.moduleclass.path">
- <!-- pathelement location="${jpa-api.jar}"/>
- <pathelement location="${commons-annotations.jar}"/>
- <pathelement location="${annotations.jar}"/ -->
<fileset dir="${ivy.dep.dir}/core">
<include name="*.jar"/>
</fileset>
@@ -80,31 +68,12 @@
<tstamp>
<format property="now" pattern="yyyyMMddhhmmss"/>
</tstamp>
- <!-- check for dependency artefacts -->
- <!-- available file="${jpa-api.jar}" type="file"
property="jpa-api.jar.available"/>
- <available file="${commons-annotations.jar}" type="file"
property="commons-annotations.jar.available"/>
- <available file="${annotations.jar}" type="file"
property="annotations.jar.available"/ -->
<mkdir dir="${lib.dir}/test"/>
<mkdir dir="${ivy.dep.dir}/core"/>
<mkdir dir="${ivy.dep.dir}/test"/>
<ivy:configure file="${ivy.jar.dir}/ivyconf.xml" />
</target>
- <!-- target name="get.jpa-api" depends="init"
unless="jpa-api.jar.available">
- <ant inheritall="false" dir="${basedir}/../jpa-api"
target="clean"/>
- <ant inheritall="false" dir="${basedir}/../jpa-api"
target="jar"/>
- </target>
-
- <target name="get.commons-annotations" depends="init"
unless="commons-annotations.jar.available">
- <ant inheritall="false" dir="${basedir}/../commons-annotations"
target="clean"/>
- <ant inheritall="false" dir="${basedir}/../commons-annotations"
target="jar"/>
- </target>
-
- <target name="get.annotations" depends="init"
unless="annotations.jar.available">
- <ant inheritall="false" dir="${basedir}/../annotations"
target="clean"/>
- <ant inheritall="false" dir="${basedir}/../annotations"
target="jar"/>
- </target -->
-
<target name="get.deps.core" depends="init"
description="retrieve the core dependencies">
<ivy:resolve conf="core" />
<ivy:retrieve pattern="${ivy.dep.dir}/core/[artifact].[ext]"
conf="core" />
Show replies by date