Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 5412 invoked from network); 22 Jul 2002 11:19:17 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 22 Jul 2002 11:19:17 -0000 Received: (qmail 19740 invoked by uid 97); 22 Jul 2002 11:19:24 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 19713 invoked by uid 97); 22 Jul 2002 11:19:23 -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 19701 invoked by uid 98); 22 Jul 2002 11:19:23 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <6F539391E018D3119B570008C75D91E8087FCFD7@SV018442> From: "Koegel, Michael" To: Ant Users List Subject: AW: howto: generating buildfile from template Date: Mon, 22 Jul 2002 13:16:54 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Do you really need to create a new build file or would providing a property-file together with the generic build-file be sufficient? Regards, Michael -----Urspr=FCngliche Nachricht----- Von: Anton_Grimm@mn.man.de [mailto:Anton_Grimm@mn.man.de] Gesendet am: Montag, 22. Juli 2002 11:40 An: Ant Users List Betreff: howto: generating buildfile from template Hi all, I would like to know what is the best way to generate buildfiles using a template ... In detail ... I have a template buildfile for web-applications which includes all the steps from exporting an app-version from a cvs-repository to deploying it to my appserver. Now I like to have a task in another buildfile which takes this template an exchanges some values for my webapp, for example " default=3D3D"package" = basedir=3D3D=3D "."> should become ... (the string "MyWebApp" comes from a property-file) and " ... /> should become ... (the string comes from new = String("MyWeb=3DApp").toLowerCase ()) I also don't want to loose the formatting of my buildfile and keep all = =3D the comments in the resulting document. I tried this using the style-task but had problems getting my comments into the resulting document and further don't know how to convert a = str=3D ing toLowerCase() in xslt. Should I use another task or write my own one using jdom? Any ideas, hints, tips to achieve this are very much appreciated. thanks Toni **************************************************** MAN Nutzfahrzeuge AG Anton Grimm Abt. IDP (SoftwareProduktionsumgebungen) Dachauerstr.667 80995 M=FCnchen Tel.: 089/1580-1054 Fax: 089/1580-911054 E-Mail: Anton_Grimm@mn.man.de **************************************************** -- To unsubscribe, e-mail: = For additional commands, e-mail: = -- To unsubscribe, e-mail: For additional commands, e-mail: