Ant ignoring classpath [message #55036] |
Wed, 11 June 2003 22:36 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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?
>
|
|
|
Powered by
FUDForum. Page generated in 0.03457 seconds