Dear
friends,
I am facing one
problem regarding accessing property from other build file. How can I
access or use property of other build file
in top level build file.
Here with this mail
I am sending sample build files to you.
Regards
Sachin
Gedam
root.build
<?xml
version="1.0"?>
<project name="rootProject" basedir=".">
<description>This is root project</description>
<project name="rootProject" basedir=".">
<description>This is root project</description>
How to access property from
other project/ other nant file like I want to access
project1.property1 in this build file.
</project>
</project>
nant1.build
<?xml version="1.0"?>
<project name="Project1" basedir=".">
<description>This is project 1</description>
<!-- this property help you to set your folder -->
<property name="project1.property1" value="abc" />
<property name="project1.property2" value="xyz" />
</project>
<project name="Project1" basedir=".">
<description>This is project 1</description>
<!-- this property help you to set your folder -->
<property name="project1.property1" value="abc" />
<property name="project1.property2" value="xyz" />
</project>
nant2.build
<?xml version="1.0"?>
<project name="Project2" basedir=".">
<description>This is project 2</description>
<!-- this property help you to set your folder -->
<property name="project2.property1" value="efg" />
<property name="project2.property2" value="mno" />
</project>
<project name="Project2" basedir=".">
<description>This is project 2</description>
<!-- this property help you to set your folder -->
<property name="project2.property1" value="efg" />
<property name="project2.property2" value="mno" />
</project>
DISCLAIMER------------------------------------------
This communication and any files transmitted with it contain information which is confidential and which may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s), please note that any disclosure, copying, printing or use whatsoever of this communication or the information contained in it is strictly prohibited. If you have received this communication in error, please notify the author or [EMAIL PROTECTED] and then delete the e-mail together with any copies of it. Although this communication is believed to be free of any virus(s) which might affect any computer or IT system into which they are opened, it is the responsibility of the recipient to ensure that they are virus free.