maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aherit...@apache.org
Subject svn commit: r405226 - /maven/maven-1/plugins/trunk/ant/plugin.jelly
Date Mon, 08 May 2006 23:39:14 GMT
Author: aheritier
Date: Mon May  8 16:39:13 2006
New Revision: 405226

URL: http://svn.apache.org/viewcvs?rev=405226&view=rev
Log:
Add a warning for the users of the old property maven.ant.generatebuild.file

Modified:
    maven/maven-1/plugins/trunk/ant/plugin.jelly

Modified: maven/maven-1/plugins/trunk/ant/plugin.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/ant/plugin.jelly?rev=405226&r1=405225&r2=405226&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/ant/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/ant/plugin.jelly Mon May  8 16:39:13 2006
@@ -40,7 +40,12 @@
   <goal
     name="ant:generate-build"
     description="Generate an Ant build file">
-
+    <j:if test="${context.getVariable('maven.ant.generatebuild.file') != null and !context.getVariable('maven.ant.generatebuild.file').equals('')}">
+      <ant:echo>!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</ant:echo>
+      <ant:echo>The property "maven.ant.generatebuild.file" is no more used.</ant:echo>
+      <ant:echo>Use the properties "maven.ant.generate.dir" and "maven.ant.generate.script"
instead</ant:echo>
+      <ant:echo>!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</ant:echo>
+    </j:if>
     <ant:echo>Generating ${maven.ant.generate.dir}/${maven.ant.generate.script} ...</ant:echo>
     <j:file name="${maven.ant.generate.dir}/${maven.ant.generate.script}" prettyPrint="true">
       <j:import file="${plugin.resources}/templates/build.jelly" inherit="true"/>



Mime
View raw message