[jboss-cvs] JBossAS SVN: r104812 - projects/jboss-jca/trunk.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri May 14 15:56:06 EDT 2010
Author: jesper.pedersen
Date: 2010-05-14 15:56:06 -0400 (Fri, 14 May 2010)
New Revision: 104812
Modified:
projects/jboss-jca/trunk/build.xml
Log:
Bootstrap Ivy only once
Modified: projects/jboss-jca/trunk/build.xml
===================================================================
--- projects/jboss-jca/trunk/build.xml 2010-05-14 19:15:47 UTC (rev 104811)
+++ projects/jboss-jca/trunk/build.xml 2010-05-14 19:56:06 UTC (rev 104812)
@@ -186,20 +186,22 @@
</path>
<!-- =================================
+ Bootstrap Ivy
+ ================================= -->
+ <mkdir dir="${ivy.dir}"/>
+ <get usetimestamp="true" src="http://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.version}/${ivy.jar.name}"
+ skipexisting="true"
+ dest="${ivy.dir}/${ivy.jar.name}"/>
+ <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpath="${ivy.dir}/${ivy.jar.name}"/>
+
+ <!-- =================================
Target: init
================================= -->
<target name="init">
- <!-- Bootstrap Ivy -->
- <mkdir dir="${ivy.dir}"/>
- <get usetimestamp="true" src="http://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.version}/${ivy.jar.name}"
- skipexisting="true"
- dest="${ivy.dir}/${ivy.jar.name}"/>
- <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpath="${ivy.dir}/${ivy.jar.name}"/>
-
+ <fail message="JBoss JCA requires JDK6+" unless="HAVE_JDK_1.6"/>
+
<ivy:settings file="${basedir}/ivy.settings.xml"/>
- <fail message="JBoss JCA requires JDK6+" unless="HAVE_JDK_1.6"/>
-
<mkdir dir="${build.dir}" />
<mkdir dir="${target.dir}" />
</target>
More information about the jboss-cvs-commits
mailing list