ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hagen, Christian" <cha...@init-ka.de>
Subject AW: Creating a java file
Date Mon, 23 Feb 2004 13:08:45 GMT
Hi,

if your problem is formatting the date, then have a look at <tstamp>
Writing text to a file can be done with <echo>.

Otherwise I'm afraid, I don't understand what the problem is.

Greetings
Chris

 

> -----Urspr√ľngliche Nachricht-----
> Von: RADEMAKERS Tanguy [mailto:tanguy.rademakers@swift.com] 
> Gesendet: Montag, 23. Februar 2004 14:00
> An: Ant Users List
> Betreff: Re: Creating a java file
> 
> Pritesh,
> 
> Take a look at FilterSets in the manual, under "Concepts and Types".
> 
> /t
> 
> 
> Pritesh saharey wrote:
> 
> >Hello All,
> >        A very simple problem for you, i would like to create a java 
> >file using ant in which i want to a code something like this
> >//----------------
> >public class VersionDate { public static String VersionDate 
> = " Mon Dec 
> >15 17:16:45 IST 2003 ";}
> >//----------------
> >In this java code VersionDate="" should be the date of 
> running the build script.
> >
> >can anybody help me out.
> >
> >
> >Pritesh Saharey
> >BE(Mech)
> >Software Engineer
> >Apsora(Ind.)Pvt. Ltd., Pune
> >http://www.apsora.com
> >http://in.geocities.com/priteshsaharey/
> >
> >
> >_____________________________________________________________
> >Join SQAtester.com Community  ---> 
> >http://www.sqatester.com/testersarea/joinus.htm
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
> additional 
> >commands, e-mail: user-help@ant.apache.org
> >
> >
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
> additional commands, e-mail: user-help@ant.apache.org
> 
> 

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


Mime
View raw message