One way to make them global is to put them in the NUnit exe.config.
(Which is in the install/bin folder with the exe)  I think there are
other ways but we'll let the experts cover that.

This issue was covered not to long ago.  Maybe you can find it in the
archives.

MArk B.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nau,
Michael
Sent: Wednesday, January 19, 2005 9:10 AM
To: [email protected]
Subject: [Nant-users] Passing Properties Back from <nant>

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


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to