Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
AW: How to get the month number thro ant.

AW: How to get the month number thro ant.

2007-05-21       - By Jan.Materne@(protected)

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


Jan

>-----Urspr?ngliche Nachricht-----
>Von: Satheesh [mailto:satish@(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: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.