Guys,
I am facing a l,ittle problem with the ant build. Here is the problem
description:
I am having three folders:
A
->B
-> C
folder A contains B and B contains C
A also contains:
base.properties
build-common.xml
build-common.xml calls buildA.properties inside and able to access all the
properties defined in property file
C contains:
buildC.xml
"buildC.xml" imports "build-common.xml" but I am not able to access the
properties defiend in the base.properties file.
*base.properties*
devenv.home=C:/dev
*build-common.xml*
<project name="build-common" default="Init" basedir=".">
<property file="${basedir}/build.properties" />
<property name="devenv.home" location="${devenv.home}" />
<echo message="${devenv.home}"/> *(this works fine)*
*buildC.xml*
<project name="buildC " default="dist">
<property name="root.dir" location="../.." />
<import file="${root.dir}/build-common.xml"/>
<echo message="${devenv.home}"/> *(Problem)*
Any Idea?
Thanks
Nilesh Sharma