ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Les Hughes <>
Subject RE: Editing file
Date Fri, 19 Oct 2001 09:21:25 GMT
Look at filtersets and filters in the manual - everything you need is there. 

Also, could you keep you mails to the ant-user list. I don't mind answering
questions directly but then only you benefit, not the rest of the user



-----Original Message-----
From: Sugandha Shah
To: Les Hughes
Sent: 19/10/01 10:09
Subject: Re: Editing file

I  really did not get what u said. I'm newbie to ANT. Can u kindly send
in example for same.
Also if i read from property file and those read values if i need to add
in config .xml how do i do it?
B'cos if try using replace  task it just replace the key part. I mean
among the key value pair i want replacement for the value .
eg :
name =sugandha
Now if i don't specify value "" is replaced. But i want Sugandha as
value to be seen which is value i get at runtime and hence can't specify
it earlier.
Sorry for the inconvienence. Any help will be really appreciated.

----- Original Message ----- 
From: Les  <> Hughes 
To: '' <mailto:''>

Sent: Thursday, October 18, 2001 6:42 PM
Subject: RE: Editing file

Mark up the things that change in your build with filter tags and then
copy the file into your build location using filtering and a filters
file. I do exactly that with WLS 6.1 config.xml and others.

-----Original Message-----
From: Sugandha Shah [
<> ]
Sent: 17 October 2001 14:28
To: <> 
Subject: Editing file

Is it possible to edit the existing file through. Is there any ant built
in task.
i.e For eg my weblogic 6.0 has config.xml. So through ANT i want to edit
this file and add something and not overwrite.
Is it possible?

View raw message