Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » ant taskdef and classpath problem
ant taskdef and classpath problem [message #33439] Thu, 15 May 2003 16:18 Go to next message
Eclipse UserFriend
Originally posted by: celine.mortelette.atosorigin.com

Hello !

I have a problem with ant taskdef in Eclipse 2.1.

I have an Eclipse project, which contains an ant build file.
When I add a new external tool for my project (in properties > External
tools Builders > New > Ant Build), and when I want to access to the
"Targets" tab, I have this error :

build.xml:taskdef class
org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask cannot be found

and yet, I had put the library axis-ant.jar in my project classpath.

So I put it in the ant runtime classpath in "Window > Preferences > Ant >
Runtime > Classpath", but it does not work better !!

How can I do to avoid this error ??

Thanks
C
Re: ant taskdef and classpath problem [message #33754 is a reply to message #33439] Thu, 15 May 2003 18:09 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
Celine,

Where did you add the library axis-ant.jar to the Ant runtime classpath?
2.1 has a bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=36574 where
additional classpath entries are not considered correctly.
The workaround is to add the JAR(s) directly to the Runtime classpath
instead of in the additional classpath entries.

HTH
Darins

"C
Re: ant taskdef and classpath problem [message #35387 is a reply to message #33754] Fri, 16 May 2003 11:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: celine.mortelette.atosorigin.com

I have put my classpath in the "Runtim classpath" list !!
But it does not work ....
And I have put it on the top of the list !

Is it a bug ?

"Darin Swanson" <Darin_Swanson@us.ibm.com> a
Re: ant taskdef and classpath problem [message #37776 is a reply to message #35387] Mon, 19 May 2003 14:05 Go to previous message
Eclipse UserFriend
Originally posted by: celine.mortelette.atosorigin.com

It works now.
The error message indicated a class not found, but the problem was another
class.

Thank you for your help
C
Previous Topic:A date for Eclipse 2.1.1
Next Topic:Loading default Editors
Goto Forum:
  


Current Time: Fri Apr 26 11:21:48 GMT 2024

Powered by FUDForum. Page generated in 0.03477 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top