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.


-------------------------------------------------------
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-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to