You're missing a required jar file: JWare_apis.jar (you need *everything* inside the distro's lib directory).
This test script works fine (note basedir is "."): <project name="test" default="task1" basedir="."> <taskdef resource="com/idaremedia/antx/install/antlib.xml"> <classpath> <pathelement location="${basedir}/build/jar/JWare_apis.jar"/> <pathelement location="${basedir}/build/jar/AntX_tasks.jar"/> </classpath> </taskdef> <property file="./build/build.properties" /> <target name="task1"> <do if="props.myprop"> <echo message="props.myprop=${props.myprop}"/> </do> </target> </project> 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
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]