can't find pyAntTasks.properties
superwesman
superwesman at gmail.com
Wed Jan 16 00:41:01 EST 2008
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
More information about the Python-list
mailing list