What does your entry look like?
-Original Message-
From: F Da Costa Gomez [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 31, 2005 7:53 AM
To: user@ant.apache.org
Subject: NoClassDefFoundError for class that is on the classpath?
Hi,
Following the error i get when trying to run a scrip
I had a similar issue.
Here's what works for me:
In your Task, set the path like this:
Path myPath = new Path(getProject(), somePathString);
myPath.setProject(getProject()); // you MUST do this or it doesn't seem to
set the ref properly
getProject().addReference("my.pathRef", myPath);
Then in yo
Hi.
I'm creating a custom task where I need to create a path and then set it's
id so it can be used as a reference via the build.xml
I've tried doing something like:
Path myPath = new Path(antProject, path);
antProject.setReference("my.compilePath",myPath);
but when I try to reference my.comp