On Jan 15, 11:41 pm, superwesman <[EMAIL PROTECTED]> wrote: > Hi - I'm trying to use pyAntTasks. I downloaded the jar and placed it > into ~/.ant/lib, put that directory into my CLASSPATH. I then created > a very simple build.xml and I'm getting a failure I can't explain. > > Here is my build.xml: > > <project name="wesman"> > <taskdef resource="pyAntTasks.properties"/> > </project> > > Here is my CLASSPATH: > > > echo $CLASSPATH > > /home/wtorres/.ant/lib > > And here's what's in it: > > > ls -lrt $CLASSPATH > > total 24 > -rwxrwxr-x 1 wtorres staff 8563 Jan 15 18:34 pyAntTasks.jar > > When I run ant, here is the failure: > > (the 'ant' script I'm running here sets up ant 1.6.2 and runs it) > > > /vobs/jfw/ant > > ANT=/tools/ant/1.6.2 > Buildfile: build.xml > [taskdef] Could not load definitions from resource > pyAntTasks.properties. It could not be found. > > BUILD SUCCESSFUL > Total time: 1 second > > What the heck am I doing wrong? Where can I find > pyAntTasks.properties? I mean, it makes sense that "It could not be > found" because I can't find it either. Where do I get/put this? > Thanks > -w
update: I downloaded a newer version on pyAntTasks and this file is included. Somebody should tell them to remove the bad build or at least mention that it won't work ;) -- http://mail.python.org/mailman/listinfo/python-list