Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Ant ignoring classpath
Ant ignoring classpath [message #55036] Wed, 11 June 2003 22:36 Go to next message
Eclipse UserFriend
Originally posted by: akappen.no.spam.yahoo.com

Eclipse 2.1 - Linux gtk2

I have a basic struts application which refers to classes in servlet.jar.
I have pulled servlet.jar into my project as an external jar file, and the
project builds fine. When I run my ant build script, I get errors because
servlet.jar is not in the runtime classpath for ant. I tried adding
servlet.jar to "runtime classpath" and "additional classpath entries" in
the ant config for my build script, but ant appears to ignore both
settings. What do I need to do to add servlet.jar to the ant build
classpath?
Re: Ant ignoring classpath [message #55064 is a reply to message #55036] Thu, 12 June 2003 02:02 Go to previous message
Eclipse UserFriend
Originally posted by: darin_swanson.oti.com

Likely you will need to adjust the classpath for the javac task and / or
make sure that includeAntRuntime is set to "yes"

Darins

"AK" <akappen@no.spam.yahoo.com> wrote in message
news:bc8atc$o3f$1@rogue.oti.com...
> Eclipse 2.1 - Linux gtk2
>
> I have a basic struts application which refers to classes in servlet.jar.
> I have pulled servlet.jar into my project as an external jar file, and the
> project builds fine. When I run my ant build script, I get errors because
> servlet.jar is not in the runtime classpath for ant. I tried adding
> servlet.jar to "runtime classpath" and "additional classpath entries" in
> the ant config for my build script, but ant appears to ignore both
> settings. What do I need to do to add servlet.jar to the ant build
> classpath?
>
Previous Topic:removing breakpoint without source
Next Topic:Code Formatter breaks lines in imports
Goto Forum:
  


Current Time: Sat Aug 31 23:00:02 GMT 2024

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

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

Back to the top