ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pritesh saharey <prit...@sqatester.com>
Subject Reading and Writing of String
Date Sun, 01 Aug 2004 16:52:45 GMT
Hi All,
       I need a help regarding reading and writing to a file. There is a file ui.properties
which looks something like this

       build-date= AmarGeet_0098_20040812

       now i want to read this value of variable 'build-date' and write it to a 'String' variable
in a java file
       
       String version_Date="";

       and this process has to be done before the compliation of java files, is there any
way in ant to do this process.
       

       so what need to be done here can anybody help me out, I will be thankful to you.



Pritesh Saharey
BE(Mech)
<a href="http://www.ntsearch.com/search.php?q=Software&v=56">Software</a>
Engineer


_____________________________________________________________
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


Mime
View raw message