ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Monsees" <l.mons...@atlantisgmbh.de>
Subject Replacing text in files
Date Fri, 25 May 2007 11:50:09 GMT
Hello,

I am compiling a Visual Basic project and want to set the version number inside the project
file (project.vbp). This looks like:

 HelpContextID="0"
 CompatibleMode="0"
 MajorVer=3
 MinorVer=8
 RevisionVer=38
 [...]

How can I replace a line from this file with some other text? I thought about "loadfile" or
"patch", but donĀ“t know exactly if these would work.


Lars

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


Mime
View raw message