Can someone explain why ant on gentoo cannot find the ant-contrib library? I have the lib installed via portage and i have a static copy that shipped with jquery-ui. The build xml came directly from jquery-ui and already includes the correct taskdef:
Code: Select all
<taskdef resource="net/sf/antcontrib/antcontrib.properties">
<classpath>
<pathelement location="build/ant-contrib-0.6.jar"/>
</classpath>
</taskdef>
I have tired pointing it to the absolute path of the included ant-contrib.jar as well as /usr/share/ant-contrib/lib/ant-contrib.jar I have tired disabling class paths, setting them to the location of the jar, tried disabling user libs. STILL: "failed to create task or type for" on the For loop task. This is really freaking annoying and ONLY happens on Gentoo.