On 1/4/08, Z W <[EMAIL PROTECTED]> wrote: > I'm trying to use tasks in ant-contrid. > So I downloaded ant-contrib-1.0b3-bin and put ant-contrib-1.0b3.jar file in > $ANT_HOME\lib > [...] > xmlns:ac="antlib:net.sf.antcontrib"> > [...] > [antlib:org.apache.tools.ant] Could not load definitions from resource > org/apache/tools/ant/antlib.xml. It could not be found.
It's not complaining about Ant-Contrib's antlib.xml, but Ant's one, which is rather strange. Putting Ant-Contrib's jar in $ANT_HOME/lib and doing xmlns:ac="antlib:net.sf.antcontrib" should work (no need for a <taskdef>), so there's most likely something else at play, probably a classpath issue somehow... --DD --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
