Author: rgardler
Date: Fri Feb 26 14:30:36 2010
New Revision: 916688
URL: http://svn.apache.org/viewvc?rev=916688&view=rev
Log:
Set ivy.xml delivery pattern (it was overwriting the jar before)
Modified:
incubator/wookie/trunk/ant/ivy-java-common.xml
Modified: incubator/wookie/trunk/ant/ivy-java-common.xml
URL:
http://svn.apache.org/viewvc/incubator/wookie/trunk/ant/ivy-java-common.xml?rev=916688&r1=916687&r2=916688&view=diff
==============================================================================
--- incubator/wookie/trunk/ant/ivy-java-common.xml (original)
+++ incubator/wookie/trunk/ant/ivy-java-common.xml Fri Feb 26 14:30:36 2010
@@ -132,18 +132,19 @@
</target>
<target name="publish-local" depends="clean-dist, jar" description="-->
publish this project in the local ivy repository">
- <delete file="${build.dir}/ivy.xml"/> <!-- delete last produced
ivy file to be sure a new one will be generated -->
+ <delete file="${dist.dir}/ivy.xml"/> <!-- delete last produced
ivy file to be sure a new one will be generated -->
<tstamp>
<format property="now" pattern="yyyyMMddHHmmss"/>
</tstamp>
<ivy:makepom ivyfile="${basedir}/ivy.xml"
pomfile="${dist.dir}/wookie.pom"/>
<ivy:publish resolver="local"
-
artifactspattern="${dist.dir}/${ant.project.name}-${version}.jar"
pubrevision="${version}"
forcedeliver="true"
+ srcivypattern="${dist.dir}/ivy.xml"
pubdate="${now}"
overwrite="true">
- <artifact name="wookie" type="pom" ext="pom"/>
+ <artifact name="wookie" type="pom" ext="pom"/>
+ <artifacts
pattern="${dist.dir}/${ant.project.name}-${version}.jar"/>
</ivy:publish>
<echo message="project ${ant.project.name} published locally with
version ${version}" />
</target>