Hi everyone,

the condition task was in the wrong place.
Added it to the init target and made get-deps depend on it.
Sam can you check to see if that also works for gump ? 
(couldn't get it to work on ant 1.6 from 2 months ago and on 1.4)


Mvgr,
Martin


Index: plugin.jelly
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/ant/plugin.jelly,v
retrieving revision 1.4
diff -u -r1.4 plugin.jelly
--- plugin.jelly	23 Jul 2002 12:52:51 -0000	1.4
+++ plugin.jelly	23 Jul 2002 23:44:32 -0000
@@ -31,10 +31,16 @@
   <property name="distdir" value="dist"/>
   <property name="javadocdir" value="target/docs/apidocs"/>
   <property name="final.name" value="${maven.final.name}"/>
-  <condition property="noget">
-    <equals arg1="$${build.sysclasspath}" arg2="only"/>
-  </condition>
   
+  <target 
+    name="init"
+    description="o Initializes some properties">
+
+    <condition property="noget">
+      <equals arg1="$${build.sysclasspath}" arg2="only"/>
+    </condition>
+  </target>
+    
   <target
     name="jar"
     depends="get-deps"
@@ -224,6 +230,7 @@
 
   <target
     name="get-deps"
+    depends="init"
     unless="noget">
   
     <mkdir dir="lib"/>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to