473,321 Members | 1,708 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

can't find pyAntTasks.properties

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
Jan 16 '08 #1
1 2053
On Jan 15, 11:41 pm, superwesman <superwes...@gmail.comwrote:
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 ;)
Jan 16 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: idiot | last post by:
public DirectoryEntry Find(string, string) method get Exception from HRESULT: 0x80005008 public DirectoryEntry Find(string); method get NullReferenceException source code : string strSchema =...
0
by: jhansen | last post by:
I am getting informational warnings about the following app.config and indicate the following. I am using C# visual studio 2005 and used the Settings.settings to set up my values scoped as...
1
by: kilnhead | last post by:
I am trying to use pyAntTasks in Eclipse. I have followed the example in the ibm doc, but I get the following error: Could not load definitions from resource pyAntTasks.properties. It could...
1
by: muddasirmunir | last post by:
I have two excel sheet , sheet1 contain about 500 websites addreses and sheet2 contain about 100 , Now i want to find and remove any entry in sheet1 that already present in sheet2 or simple i...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.