incubator-easyant-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlboud...@apache.org
Subject svn commit: r1397274 - /incubator/easyant/core/trunk/build.xml
Date Thu, 11 Oct 2012 20:14:49 GMT
Author: jlboudart
Date: Thu Oct 11 20:14:49 2012
New Revision: 1397274

URL: http://svn.apache.org/viewvc?rev=1397274&view=rev
Log:
Update bootstrap build acoording to recent changes

Modified:
    incubator/easyant/core/trunk/build.xml

Modified: incubator/easyant/core/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/easyant/core/trunk/build.xml?rev=1397274&r1=1397273&r2=1397274&view=diff
==============================================================================
--- incubator/easyant/core/trunk/build.xml (original)
+++ incubator/easyant/core/trunk/build.xml Thu Oct 11 20:14:49 2012
@@ -78,10 +78,31 @@
             <sysproperty key="easyant.home" file="${basedir}" />
             <arg line="-configfile ${basedir}/easyant-conf.xml" />
             <arg line="-f ${basedir}/module.ivy" />
-            <arg line="-Dskip.xooki=true"/>
             <arg line="-Dskip.svn=true"/>
             <arg line="package-full-distribution" />
         </java>
     </target>
 
+    <target name="distribution" depends="jar">
+        <property name="bootstrap.fork" value="false"/>
+        <java classname="org.apache.easyant.core.EasyAntMain" failonerror="true" fork="${bootstrap.fork}">
+            <classpath>
+                <path refid="default.classpath" />
+                <pathelement location="${bootstrap.dir}/easyant.jar" />
+                <!--
+                    Ant will try to find the tools.jar using java.home System property, but
sometimes
+                    this points to JDK, and sometimes to JRE.
+                    See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4200300
+                -->
+                <path path="${java.class.path}"/>
+            </classpath>
+            <sysproperty key="easyant.home" file="${basedir}" />
+            <arg line="-configfile ${basedir}/easyant-conf.xml" />
+            <arg line="-f ${basedir}/module.ivy" />
+            <arg line="-Dskip.svn=true"/>
+            <arg line="distribution" />
+        </java>
+
+    </target>
+
 </project>



Mime
View raw message