ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xav...@apache.org
Subject svn commit: r671597 - /ant/ivy/core/trunk/test/triggers/ant-build/A/build.xml
Date Wed, 25 Jun 2008 16:33:51 GMT
Author: xavier
Date: Wed Jun 25 09:33:51 2008
New Revision: 671597

URL: http://svn.apache.org/viewvc?rev=671597&view=rev
Log:
make test build more robust

Modified:
    ant/ivy/core/trunk/test/triggers/ant-build/A/build.xml

Modified: ant/ivy/core/trunk/test/triggers/ant-build/A/build.xml
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/triggers/ant-build/A/build.xml?rev=671597&r1=671596&r2=671597&view=diff
==============================================================================
--- ant/ivy/core/trunk/test/triggers/ant-build/A/build.xml (original)
+++ ant/ivy/core/trunk/test/triggers/ant-build/A/build.xml Wed Jun 25 09:33:51 2008
@@ -21,12 +21,14 @@
               uri="antlib:org.apache.ivy.ant" />
 
     <target name="publish">
+        <delete dir="build" />
         <tstamp><format property="tstamp" pattern="yyyyMMDDHHmmss"/></tstamp>
         <mkdir dir="${basedir}/build"/>
         <echo message="${tstamp}" file="${basedir}/build/A.jar"/>
         <ivy:configure file="${basedir}/../ivysettings.xml"/>
         <ivy:resolve file="${basedir}/ivy.xml" />
-        <ivy:publish resolver="local" artifactspattern="${basedir}/build/[artifact].[ext]"
pubrevision="${tstamp}" />
+        <ivy:publish resolver="local" artifactspattern="${basedir}/build/[artifact].[ext]"

+        	         pubrevision="${tstamp}" overwrite="true"/>
         <delete dir="build" />
      
     </target>



Mime
View raw message