G
Guest
Hi there,
I try to find on the internet on how to achieve this, 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 how to achieve this?
Thanks.
I try to find on the internet on how to achieve this, 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 how to achieve this?
Thanks.