Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 3305 invoked by uid 500); 18 Oct 2001 13:13:05 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 3279 invoked from network); 18 Oct 2001 13:13:04 -0000 Message-ID: <502326F46B08D41191C400508B6D70C10235C6F3@ThisAddressDoesNotExist> From: Les Hughes To: "'ant-user@jakarta.apache.org'" Subject: RE: Editing file Date: Thu, 18 Oct 2001 14:12:23 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C157D6.86C99420" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C157D6.86C99420 Content-Type: text/plain; charset="iso-8859-1" Hi, 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. Bye, Les -----Original Message----- From: Sugandha Shah [mailto:sugandhas@cybage.com] Sent: 17 October 2001 14:28 To: ant-user@jakarta.apache.org Subject: Editing file Hi, 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? Thanx -Sugandha ------_=_NextPart_001_01C157D6.86C99420 Content-Type: text/html; charset="iso-8859-1"
Hi,
 
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.
 
Bye,
 
Les
 
 
-----Original Message-----
From: Sugandha Shah [mailto:sugandhas@cybage.com]
Sent: 17 October 2001 14:28
To: ant-user@jakarta.apache.org
Subject: Editing file

Hi,
 
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?
 
Thanx
-Sugandha
------_=_NextPart_001_01C157D6.86C99420--