C
coltrane
Is it possible to use an environment variable in a property file?
I would like to set a property such as
dir.base=${environment.INSTALL_BASE}
where INSTALL_BASE is an env var.
then I would like to use ${dir.base} with a build.xml.
why do you ask would I want to do this???
I inherited a group of ant build scripts with hard coded paths in the
property files.
I would like to change them so the paths can be changed without
modifying the prop files.
I am very new to ant so forgive me if this is a simple question. and
yes I am reading the manual
thanks for your help
john
I would like to set a property such as
dir.base=${environment.INSTALL_BASE}
where INSTALL_BASE is an env var.
then I would like to use ${dir.base} with a build.xml.
why do you ask would I want to do this???
I inherited a group of ant build scripts with hard coded paths in the
property files.
I would like to change them so the paths can be changed without
modifying the prop files.
I am very new to ant so forgive me if this is a simple question. and
yes I am reading the manual
thanks for your help
john