You are viewing a plain text version of this content. The canonical link for it is here.
Posted to alexandria-dev@jakarta.apache.org by Martin van den Bemt <ml...@mvdb.net> on 2002/07/24 01:47:09 UTC

[PATCH] ant plugin..

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



Re: [PATCH] ant plugin..

Posted by Martin van den Bemt <ml...@mvdb.net>.
This was just a cc for notification ;)..

Mvgr,
Martin

On Wed, 2002-07-24 at 01:47, Martin van den Bemt wrote:
> 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:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>