warhero wrote:
> 
> Hey All,
> 
> I'm trying to get up and running with JWare / AntXtras. need a little
> help. I'm building a build system that is being deployed to some
> developers. And I want to include some of the tasks in this library. But
> am not completely sure how to do it without modifying any ant config /
> libraries. I'm trying to do in thebuild file with taskdef. Heres my
> example:
> 
> <project name="test" default="task1" basedir="../">
> 
>       <taskdef resource="com/idaremedia/antx/install/antlib.xml"
> classpath="${basedir}/build/jar/AntX_tasks.jar" />
>       
>       <!-- Load the properties file -->
>       <property file="./build/build.properties" />
> 
>         <target name="task1">
>             <do if="props.myprop">
>                <!-- something -->
>             </do>
>         </target>
> </project>
> 
> I've tried a number of different ways with the taskdef tag.. no luck, dah!
> any help would be appreciated.
> 
> -Aaron
> 

--------------------

I think this is closer.. dah..

<?xml version="1.0"?>
<project name="mon" default="task1" basedir="./">
        <taskdef name="do"
classname="com.idaremedia.antx.flowcontrol.ConditionalTaskSet"
classpath="./AntX_tasks.jar" />
        <target name="task1">
                <do if="true">
                        <echo message="WORD" />
                </do>
        </target>
</project>


-- 
View this message in context: 
http://www.nabble.com/JWare---AntXTras-help-tf4139077.html#a11773606
Sent from the Ant - Users mailing list archive at Nabble.com.


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

Reply via email to