Java Mailing List Archive

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

Apache Ant Archive

» Ant Users List
» Ant Developers List
Replacing text in files

Replacing text in files

2007-05-25       - By Lars Monsees
Reply:     1     2     3     4     5  

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
RevisionVer8
[...]

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@(protected)
For additional commands, e-mail: user-help@(protected)


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