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>
How to access property from other project/ other nant file like I want to access project1.property1 in this build file.
</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>
--------------------------------------------------------------------------------
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>
--------------------------------------------------------------------------------
- [Nant-users] (no subject) Sachin Shriram Gedam
- Re: [Nant-users] (no subject) Merrill Cornish
- [Nant-users] (no subject) Sheikh Nabeel Moeen
- [Nant-users] (no subject) Daniel Czarnecki
- RE: [Nant-users] (no subject) Gert Driesen
- RE: [Nant-users] (no subject) Daniel Czarnecki
- [Nant-users] (no subject) Brad Eck
- [NAnt-users] (no subject) Ahmed, Shabana
- [NAnt-users] files are compiled but zero dll... Ahmed, Shabana
- Re: [NAnt-users] (no subject) Giscard Biamby