Ant retrieves all system properties - means all properties
System.getProperties() returns.
http://ant.apache.org/manual/using.html#built-in-props
"Ant provides access to all system properties ... For a list of system
properties see
the Javadoc of System.getProperties."
Jan
> -Ursp
I think Rob means, that you could delete all your is.dev.home occurences and
just using env.IS_DEV_HOME.
If you want to define that in a propery file just use
env.IS_DEV_HOME=someValue
It's "just" a normal property ...
But personally I prefer using different properties. So you are free to do mor
This works for me:
'${is.dev.home}'
Jan
>-Ursprüngliche Nachricht-
>Von: Dominique Devienne [mailto:[EMAIL PROTECTED]
>Gesendet: Freitag, 13. April 2007 23:18
>An: Ant Users List
>Betreff: Re: ant property not set question
>
In the source ;-)
[1] --> Property.java [2] execute() -->
Property.loadEnvironment(String)
--> Execute.getProcEnvironment() [3] --> Execute.getProcEnvCommand()
==> os/2 cmd /c set
windows
- win9xcommand.com /c set
- othercmd /c set
z/os /bin/env OR /usr/b
"Ant Users List"
To
Ant Users List
cc
Subject
Re: AW: ant property
Why not to use a custom ANT build?
- Alexey.
Douglas Kramer wrote:
>
> Wish I could, but my application (MIF Doclet) currently overrides
> classes in tools.jar, so that's not an option. I must
Why not to use a custom ANT build?
- Alexey.
Douglas Kramer wrote:
Wish I could, but my application (MIF Doclet) currently overrides
classes in tools.jar, so that's not an option. I must be able
to set the classpath to MIFDoclet.class ahead of tools.jar
(which is ${run.classpath.javadoc}). Later,
James Fuller wrote:
Douglas Kramer wrote:
I'd like to set up my Ant script to load one set of paths
if I'm building on one machine and a different set of
paths when building on a another machine.
this can be achieved in a variety of ways;
Good, thanks.
In build.properties I have:
run.classpath.java
Douglas Kramer wrote:
I'd like to set up my Ant script to load one set of paths
if I'm building on one machine and a different set of
paths when building on a another machine.
this can be achieved in a variety of ways;
In build.properties I have:
run.classpath.javadoc="${JAVA_HOME}/lib/tools.jar"
r
I'd like to set up my Ant script to load one set of paths
if I'm building on one machine and a different set of
paths when building on a another machine.
In build.properties I have:
run.classpath.javadoc="${JAVA_HOME}/lib/tools.jar"
run.classpath.mifdoclet="${WORKDIR}/build/jar/mifdoclet.jar"
My sc
You can use the task of AntContrib or using
10 matches
Mail list logo