Hadzramin,

 

Which version of Nant are you using?  There was a bug in 0.84 and earlier versions of 0.85 where the property element in a <nant> task was incorrectly evaluated in the context of the new instance of nant rather than the calling instance.  If you’ve got an earlier version, try with the latest build and see of that fixes it.

 

HTH,

 

Bill

 

 

-----Original Message-----
From: Ahmad Hadzramin AR [mailto:[EMAIL PROTECTED]
Sent: 14 December 2004 03:52
To: [EMAIL PROTECTED]
Subject: [Nant-users] FW: How to pass values betwwen build files

 

Hi,

 

Anyone can help me on the abovementioned?

 

I've tried the followings but no success. What I try to do is to pass param d.output, d.lib & d.dist to other build file.

 

1. From <nant> tag

----------------------------------------

  <nant buildfile="${dir.dest}\${DataAccess.filename.dest}" target="build" inheritall="true" verbose="${isverbose}">
   <properties>
    <property name="d.output" value="${nant.project.basedir}\build\${project.name}-${project.version}-${project.config}\web\bin" />
    <property name="d.lib" value="${nant.project.basedir}\build\${project.name}-${project.version}-${project.config}\web\bin\lib" />
    <property name="d.dist" value="${nant.project.basedir}\build\${project.name}-${project.version}-${project.config}\web\bin\dist" />
   </properties>
  </nant>

 

 

2. From <style> tag

----------------------------------------

  <style in="${DataAccess.dir.src}\${DataAccess.filename.src}" out="${dir.dest}\${DataAccess.filename.dest}"  extension="build" style="${stylesheet}">
   <parameters>
    <parameter name="reportType" namespaceuri="" value="Plain" />
   </parameters>
  </style>

 

 

Thanks,

Hadzramin

 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 11/1/2004



We would like to take this opportunity to offer seasons greetings from all at Marlborough Stirling. Rather than sending out Christmas cards this year, we will be making a contribution to the charity Crisis - www.crisis.org.uk. We are delighted to be able to support the work of this worthwhile charity, who offer vital services and emotional support at a particularly vulnerable time of the year.



UK businesses use 2 million tonnes of paper each year.
THINK before you PRINT this email.
______________________________________________________________

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,
Jessop House, Jessop Avenue, Cheltenham, Gloucestershire, GL50 3SH
Tel: 01242 547000 Fax: 01242 547100
http://www.marlborough-stirling.com

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.788 / Virus Database: 533 - Release Date: 11/1/2004

Reply via email to