ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: How to get the month number thro ant.
Date Mon, 21 May 2007 11:03:39 GMT
<project>
    <tstamp>
        <format property="month" pattern="MM"/>
    </tstamp>
    <echo>Month is ${month}</echo>
</project>


Jan 

>-----Urspr√ľngliche Nachricht-----
>Von: Satheesh [mailto:satish@ltp.soft.net] 
>Gesendet: Montag, 21. Mai 2007 13:04
>An: Ant Users List
>Betreff: How to get the month number thro ant.
>
>Hi I need to set a property in my build.xml which has the 
>value of the current month so that i can use that in my test cases.
>
>How can i achieve this.
>Am totally new to this Ant.
>____________________________________
>Satheesh . J
>99450 31654
>
>Lisle Technology Partners India Pvt Ltd
>1134, 4th Floor, 100 Feet Road
>HAL 2nd Stage, Indiranagar
>Bangalore 560 038, India
>Telefax. +91-80-2521 0604/05
>____________________________________
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message