From ant-user-return-17018-qmlist-jakarta-archive-ant-user=jakarta.apache.org@jakarta.apache.org Tue Feb 05 06:48:31 2002 Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 70294 invoked from network); 5 Feb 2002 06:48:31 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 5 Feb 2002 06:48:31 -0000 Received: (qmail 7869 invoked by uid 97); 5 Feb 2002 06:48:33 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 7827 invoked by uid 97); 5 Feb 2002 06:48:32 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 7803 invoked from network); 5 Feb 2002 06:48:32 -0000 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: ant-user@jakarta.apache.org Subject: Re: How to change the string value into some source file? References: <598510E5C3CAD3119DD800A0C906831ACB1E84@kaori.schema.com> From: Stefan Bodewig Date: 05 Feb 2002 07:35:42 +0100 In-Reply-To: <598510E5C3CAD3119DD800A0C906831ACB1E84@kaori.schema.com> Message-ID: Lines: 20 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Mon, 4 Feb 2002, Lev Zak wrote: > Hello, I use ant 1.4.1 under Windows 2000 I would like to change the > specific string in my config file config.properties I tried to > perform it through task into task without > success. filtered copy would require you to delimit the part you want to replace with tokens, something like ExpressoConfigDir = d:/@development@/config/expresso/config and then define a filter that replaces development with integration in the copy task. The easiest solution (as this is a property file) probably really is to use the optional task, but should do the trick as well. Stefan -- To unsubscribe, e-mail: For additional commands, e-mail: