Hello,

I have the following test script:

<?xml version="1.0"?>
<project name="JustStuff" default="getDate">
        <property name="1"  value="January" />
        <property name="2"  value="February" />
        <property name="3"  value="March" />
        <property name="4"  value="April" />
        <property name="5"  value="May" />
        <property name="6"  value="June" />
        <property name="7"  value="July" />
        <property name="8"  value="August" />
        <property name="9"  value="September" />
        <property name="10" value="October" />
        <property name="11" value="November" />
        <property name="12" value="December" />

        <target name="getDate">
                <property name="This.Month" value="${datetime::get-month( 
datetime::now() )}" />
                <echo message="This.Month = ${This.Month}" />
        </target>
</project>

What I'm trying to do is get this month and then display the proper name of the 
month.  I tried ${${This.Month}} and ${{This.Month}} without any luck.  What I 
would like to get is for the echo to display:  This.Month = March 

Can something like this be done? 

Thanks,
Felice


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to