<project>
    <tstamp>
        <format property="month" pattern="MM"/>
    </tstamp>
    <echo>Month is ${month}</echo>
</project>


Jan 

>-----Ursprüngliche Nachricht-----
>Von: Satheesh [mailto:[EMAIL PROTECTED] 
>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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to