Author: richard.opalka(a)jboss.com
Date: 2008-02-18 05:29:38 -0500 (Mon, 18 Feb 2008)
New Revision: 5717
Modified:
stack/metro/trunk/ant-import/build-metro.xml
Log:
fix ant based build failure + redundant metro builds
Modified: stack/metro/trunk/ant-import/build-metro.xml
===================================================================
--- stack/metro/trunk/ant-import/build-metro.xml 2008-02-17 17:23:37 UTC (rev 5716)
+++ stack/metro/trunk/ant-import/build-metro.xml 2008-02-18 10:29:38 UTC (rev 5717)
@@ -73,11 +73,19 @@
<delete dir="${cvs.dir}"/>
</target>
- <target name="build.metro" depends="checkout, -install.adapter,
clean.metro">
+ <target name="check.metro">
+ <available file="glassfish-metro/metro.build.marker"
property="metro.build.exists"/>
+ </target>
+
+ <target name="build.metro" depends="check.metro"
unless="metro.build.exists">
+ <antcall target="checkout"/>
+ <antcall target="-install.adapter"/>
+ <antcall target="clean.metro"/>
<antbridge target="copy-binaries"
file="metro-build-adapter.xml"/>
<echo>*********************************</echo>
<echo>The metro binaries have been copied to
'glassfish-metro/output'</echo>
<echo>*********************************</echo>
+ <touch file="glassfish-metro/metro.build.marker"/>
</target>
</project>
\ No newline at end of file
Show replies by date