Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » M4 ANT can't find BuildException
M4 ANT can't find BuildException [message #144590] Wed, 15 October 2003 19:13 Go to next message
Eclipse UserFriend
Originally posted by: brianf_msn.infinity.nu

I just upgraded from M3 and now ant can't open any of my build.xml files. I
get the error:
"Could not find one or more classes: "org.apache.tools.ant.BuildException"
Please check the classpath.

I did and ant.jar is there and contains the class it's whining about.

Ideas?
Re: M4 ANT can't find BuildException [message #144607 is a reply to message #144590] Wed, 15 October 2003 19:35 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
How did you upgrade?
Looks like you are missing the
org.eclipse.ant.core_3.0.0\lib\antsupportlib.jar (which is included in the
M4 download).

HTH
Darins

"Brian Fox" <brianf_msn@infinity.nu> wrote in message
news:bmk68r$tkf$1@eclipse.org...
> I just upgraded from M3 and now ant can't open any of my build.xml files.
I
> get the error:
> "Could not find one or more classes: "org.apache.tools.ant.BuildException"
> Please check the classpath.
>
> I did and ant.jar is there and contains the class it's whining about.
>
> Ideas?
>
>
Re: M4 ANT can't find BuildException [message #144782 is a reply to message #144590] Thu, 16 October 2003 07:18 Go to previous messageGo to next message
Ilja Preuss is currently offline Ilja PreussFriend
Messages: 105
Registered: July 2009
Senior Member
Brian Fox wrote:
> I just upgraded from M3 and now ant can't open any of my build.xml
> files. I get the error:
> "Could not find one or more classes:
> "org.apache.tools.ant.BuildException" Please check the classpath.
>
> I did and ant.jar is there and contains the class it's whining about.
>
> Ideas?

Go to Window/Preferences/Ant/Runtim/Classpath and click Restore Defaults.

Take care, Ilja
Re: M4 ANT can't find BuildException - SOLVED [message #145005 is a reply to message #144590] Thu, 16 October 2003 15:31 Go to previous message
Eclipse UserFriend
Originally posted by: brianf_msn.infinity.nu

Looks like the ant jars got moved into \lib from M3 to M4 and I missed that
when I was looking at the classpath.

"Brian Fox" <brianf_msn@infinity.nu> wrote in message
news:bmk68r$tkf$1@eclipse.org...
> I just upgraded from M3 and now ant can't open any of my build.xml files.
I
> get the error:
> "Could not find one or more classes: "org.apache.tools.ant.BuildException"
> Please check the classpath.
>
> I did and ant.jar is there and contains the class it's whining about.
>
> Ideas?
>
>
Previous Topic:Is there an update site for 3.0?
Next Topic:What's the deal with software updates?
Goto Forum:
  


Current Time: Mon Jul 22 20:09:51 GMT 2024

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

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

Back to the top