You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ah...@apache.org on 2006/05/09 01:49:39 UTC
svn commit: r405231 - /maven/maven-1/plugins/trunk/ant/xdocs/properties.xml
Author: aheritier
Date: Mon May 8 16:49:37 2006
New Revision: 405231
URL: http://svn.apache.org/viewcvs?rev=405231&view=rev
Log:
Add a workaround for those who want to use different versions of the ant plugin.
Modified:
maven/maven-1/plugins/trunk/ant/xdocs/properties.xml
Modified: maven/maven-1/plugins/trunk/ant/xdocs/properties.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/ant/xdocs/properties.xml?rev=405231&r1=405230&r2=405231&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/ant/xdocs/properties.xml (original)
+++ maven/maven-1/plugins/trunk/ant/xdocs/properties.xml Mon May 8 16:49:37 2006
@@ -108,5 +108,12 @@
</tr>
</table>
</section>
+ <section name="Backward compatibility">
+ <p>In the version 1.10 of the ant plugin we removed the usage of the property "maven.ant.generatebuild.file" to replace it by the properties "maven.ant.generate.dir" and "maven.ant.generate.script".</p>
+ <p>If you used this property (for example you had : <code>maven.ant.generatebuild.file=myDir/myBuild.xml</code>) and you want to have a build which work with all the versions of this plugin you can set your properties like this :</p>
+ <source>maven.ant.generatebuild.file=${maven.ant.generate.dir}/${maven.ant.generate.script}
+maven.ant.generate.dir=myDir
+maven.ant.generate.script=myBuild.xml</source>
+ </section>
</body>
</document>