Thank
you for the quick response. I am using an old nightly build so I guess
it's time to start using a more recent one.
-Jo
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: dinsdag 27 april 2004 13:36
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [Nant-users] unexpected ${nant.project.buildfile} behaviour
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: dinsdag 27 april 2004 13:36
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [Nant-users] unexpected ${nant.project.buildfile} behaviour
What version of NAnt are you using? This was a bug a few weeks ago that Gert kindly fixed where properties were evaluated in teh context of the "shelled" NAnt instance rather than the master instance. It works in the current nightly builds.Cheers,Bill-----Original Message-----
From: Jo De Greef [mailto:[EMAIL PROTECTED]
Sent: 27 April 2004 12:32
To: [EMAIL PROTECTED]
Subject: [Nant-users] unexpected ${nant.project.buildfile} behaviourHi all,I have one build file (called master.build) that uses the <nant> task:<target name="build">
<nant buildfile="slave.build">
<properties>
<property name="parentBuildfile" value="${nant.project.buildfile}" /></properties>
</nant></target>When I check the value of ${parentBuildfile} inside slave.build, the value is "c:\projects\slave.build" instead of "c:\projects\master.build".Is this intended behaviour?Best regards,-Jo
______________________________________________________________
CONFIDENTIALITY NOTICE
This communication and the information it contains is intended for the person or organisation to
whom it is addressed. Its contents are confidential and may be protected in law. Unauthorised use,
copying or disclosure of any of it may be unlawful. If you are not the intended recipient, please
contact us immediately.
The contents of any attachments in this e-mail may contain software viruses, which could damage your
own computer system. While Marlborough Stirling has taken every reasonable precaution to minimise
this risk, we cannot accept liability for any damage, which you sustain as a result of software
viruses. You should carry out your own virus checking procedure before opening any attachment.
Marlborough Stirling plc, Registered in England and Wales
Registered No. 3008820,
Allen Jones House, Jessop Avenue, Cheltenham, Gloucestershire, GL50 3SH
Tel: 01242 547000 Fax: 01242 547100
http://www.marlborough-stirling.com