forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r190107 - /forrest/trunk/plugins/build.xml
Date Sat, 11 Jun 2005 11:38:57 GMT
Author: rgardler
Date: Sat Jun 11 04:38:55 2005
New Revision: 190107

URL: http://svn.apache.org/viewcvs?rev=190107&view=rev
Log:
Ask the name of the plugin in seedPlugin now that we have removed this from the init target.

Modified:
    forrest/trunk/plugins/build.xml

Modified: forrest/trunk/plugins/build.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/build.xml?rev=190107&r1=190106&r2=190107&view=diff
==============================================================================
--- forrest/trunk/plugins/build.xml (original)
+++ forrest/trunk/plugins/build.xml Sat Jun 11 04:38:55 2005
@@ -83,7 +83,7 @@
     <property name="build.compiler.type"        value="classic"/>
     <property name="build.compiler.vm"          value="1.2"/>
     
-    <fail unless="plugin-name" message="You must plugin build targets from within the
plugin directory."/>
+    <fail unless="plugin-name" message="You must run plugin build targets from within
the plugin directory."/>
            
     <mkdir dir="${build.dir}"/>
     
@@ -322,8 +322,11 @@
   </target>
   
   <target name="seedPlugin"
-    description="Create a new plugin directory in the current working directory and seed
it with initial set of files"
-    depends="init">
+    description="Create a new plugin directory in the current working directory and seed
it with initial set of files">
+    
+    <input message="What is the name of the plugin you wish to creaate?"
+           addproperty="plugin-name"/>
+    <antcall target="init"/>
     
     <input message="Provide a brief description of what the plugin does"
            addproperty="plugin-desc"/>



Mime
View raw message