|
Hi, The code written will give you an output like this. Can you please
tell me what exactly is your issue is? NAnt 0.85 (Build
0.85.1795.0; nightly; 11/30/2004) Copyright (C) 2001-2004
Gerry Shaw http://nant.sourceforge.net Buildfile:
file:///D:/NAnt/testing.build Target(s) specified: test test: [echo] Building
PropertyTest- 1.0.0 BUILD SUCCEEDED Total time: 0 seconds. Thanks & Regards Thangaraja Kannan ETG .NET Group LG CNS Global Ph : 91-080-51232400 x120 -----Original Message----- Send nant-developers mailing list submissions to To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nant-developers or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than "Re: Contents of nant-developers digest..." Today's Topics: 1. Getting the NAnt ${variable} working? (Wen Ching Chua) --__--__-- Message: 1 Date: Tue, 11 Jan 2005 19:57:58 -0800 From: Wen Ching Chua <[EMAIL PROTECTED]> Reply-To: Wen Ching Chua <[EMAIL PROTECTED]> Subject: [nant-dev] Getting the NAnt ${variable} working? Hi, I try to find on the internet on how to achieve this in C#, but still can't find any good resources till i downloaded Nant. But there are too many codes inside Nant, and i have no idea which part of Nant code that can achieve this below. <?xml version="1.0"?> <project name="Property Test" default="test"
basedir="."> <property name="project.name"
value="PropertyTest"/> <property name="project.version"
value="1.0.0"/> <target name="test"> <echo message="Building
${project.name}-${project.version}"/> </target> </project> --> I want to get the value of project.name. So i can use the ${project.name} a few times in my xml script. Any idea on which portion of the NAnt code can do this? I try to google, but i do not know the right keyword to search. Thanks. --__--__-- _______________________________________________ nant-developers mailing list https://lists.sourceforge.net/lists/listinfo/nant-developers End of nant-developers Digest
|
