Julien,

Shouldn't it be "2.1 M5" instead of "M5"?

Thanks
-Vincent

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 26 February 2003 11:49
> To: [EMAIL PROTECTED]
> Subject: cvs commit: jakarta-cactus/integration/eclipse build.xml
> 
> jruaux      2003/02/26 02:48:44
> 
>   Modified:    integration/eclipse build.xml
>   Log:
>   Added JUnit plugin version check
> 
>   Revision  Changes    Path
>   1.5       +21 -7     jakarta-cactus/integration/eclipse/build.xml
> 
>   Index: build.xml
>   ===================================================================
>   RCS file: /home/cvs/jakarta-cactus/integration/eclipse/build.xml,v
>   retrieving revision 1.4
>   retrieving revision 1.5
>   diff -u -r1.4 -r1.5
>   --- build.xml       24 Feb 2003 16:58:37 -0000      1.4
>   +++ build.xml       26 Feb 2003 10:48:44 -0000      1.5
>   @@ -35,7 +35,7 @@
>             Initialize source, target and dist properties
> 
>
========================================================================
>        -->
>   -    <target name="properties">
>   +    <target name="properties" depends="init.junitplugin.find">
> 
>            <!-- Set the properties related to the source tree -->
>            <property name="src.dir" value="${base.dir}/src"/>
>   @@ -100,16 +100,30 @@
> 
>        <!--
> 
>
========================================================================
>   +         Find out the JUnit Eclipse plug-in version
>   +
>
========================================================================
>   +    -->
>   +    <target name="init.junitplugin.find">
>   +
>   +        <condition property="junitplugin.version" value="m5">
>   +            <available classname="org.eclipse.jdt.junit">
>   +                <classpath>
>   +                   <pathelement
location="${eclipse.jdt.junit.jar}"/>
>   +                </classpath>
>   +            </available>
>   +        </condition>
>   +
>   +        <fail message="Eclipse version must be higher than M5"
>   +            unless="junitplugin.version"/>
>   +
>   +    </target>
>   +
>   +    <!--
>   +
>
========================================================================
>             Compile the plugin
> 
>
========================================================================
>        -->
>       <target name="compile" depends="init">
>   -
>   -        <echo>
>   -          ---------------------------------------------------------
>   -            Currently needs a patched version of the Junit plugin
>   -          ---------------------------------------------------------
>   -        </echo>
> 
>               <mkdir dir="${target.classes.dir}"/>
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



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

Reply via email to