----- Original Message -----
Sent: Tuesday, June 15, 2004 10:24
PM
Subject: [Nant-users] Scoping issues with
<nant> task, passing properties with inheritall="false"
Am I using this
the wrong way?
<property
name="test-property-to-pass" value="foo" />
<nant
buildfile="foo.build" target="foo.target"
inheritall="false">
<properties>
<property name="test-property" value="${test-property-to-pass}"
/>
</properties>
</nant>
The above fails
(Property 'test-property-to-pass' has not been set.) unless inheritall is
set to "true" in the nant task. This seems very counter-intuitive to me,
since I basically want to pass a subset of the properties in the parent
buildfile into the called buildfile. Currently, if inheritall="false", I
can only use hard-coded properties, which is essentially useless for my
purposes.
Am I way off base
here?
Regards,
--
Troy
Disclaimer Message:
This message contains
confidential information and is intended only for the individual(s)
named. If you are not the named addressee you should not disseminate,
distribute or copy this e-mail. Please immediately delete it and all
copies of it from your system, destroy any hard copies of it, and notify
the sender. E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. To the maximum
extent permitted by law, Immersive Technologies Pty. Ltd. does not
accept liability for any errors or omissions in the contents of this
message which arise as a result of e-mail transmission.
|