Passing environment variables to ANT [message #64075] |
Sat, 21 June 2003 20: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: s.millies.ids-scheer.REMOVE-THIS.de
In my external build script, I call ANT like this:
java org.apache.tools.ant.Main -Dcatalina.home=%CATALINA_HOME%
(The system property catalina.home is accessed inside build.xml for the
compilation of JSPs.)
When configuring an external task to call ANT from Eclipse,
how should I pass this property to ANT?
The only thing I seem to be able to do is set the property directly,
using the current value of %CATALINA_HOME% , which is
of course not what I want.
Instead of accessing the OS's environment variable, I'd also
be happy to use one of the classpath variables from my Java
preference settings, but even that seems impossible.
-- Sebastian
PS: Incidentally, it would also be nice if there were a filter in the
ANT view for all non-descript targets (the hollow arrows).
|
|
|
|
Powered by
FUDForum. Page generated in 0.02918 seconds