Is there a way for a source build script to see changes to a property in
a separate build script. For example in the following scripts I'd like
to have the value of ${test.property} set to bar after the call to the
test target in test2.build. Something similar to the <antfetch> task in
ant-contrib
(http://ant-contrib.sourceforge.net/tasks/antfetch_task.html)
<!-- test.build -->
<target name="test">
<property name="test.property" value="foo"/>
<nant buildfile="test2.build" failonerror="true" target="test"
inheritall="false">
<properties>
<property name="test.property" value="${test.property}"/>
</properties>
</nant>
</target>
<!-- test2.build -->
<target name="test">
<property name="test.property" value="bar"/>
</target>
Thanks,
Mike.
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users