More info: I tried to use antlib.xml by copying it and the jar to my project, but adding the suggested block below:
<taskdef resource=".../antlib.xml"> <classpath> <pathelement location=".../ant-contrib.jar"/> </classpath> </taskdef> ... results in: Buildfile: build.xml [taskdef] Could not load definitions from resource .../antlib.xml. It could not be found. This happens both with absolute and relative paths to antlib. OTOH, I could make it work by copying the parts of its contents I'm interested in, eg: <taskdef name="for" classname="net.sf.antcontrib.logic.ForTask" onerror="ignore"> <classpath> <pathelement location=".../ant-contrib.jar"/> </classpath> </taskdef> I can't really see what I'm doing wrong, maybe I just need some sleep, but that could just be an inaccurate doc, or a plain ant bug. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org