Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 91857 invoked from network); 18 Jan 2010 13:12:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Jan 2010 13:12:49 -0000 Received: (qmail 62712 invoked by uid 500); 18 Jan 2010 13:12:48 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 62651 invoked by uid 500); 18 Jan 2010 13:12:48 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 62641 invoked by uid 99); 18 Jan 2010 13:12:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jan 2010 13:12:48 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jan 2010 13:12:37 +0000 Received: from z011100.bk.fin.local (z011100.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.14.0/8.14.0) with ESMTP id o0IDCGNY018158 for ; Mon, 18 Jan 2010 14:12:16 +0100 Received: from z011102.bk.fin.local ([130.11.7.102]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.3959); Mon, 18 Jan 2010 14:12:17 +0100 Received: from z011021.bk.fin.local ([130.11.7.21]) by z011102.bk.fin.local with Microsoft SMTPSVC(6.0.3790.3959); Mon, 18 Jan 2010 14:12:17 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: split version Date: Mon, 18 Jan 2010 14:12:16 +0100 Message-ID: <9EE86F1965E19E499C80DE52AC807B5505171692@z011021.bk.fin.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: split version Thread-Index: AcqYPDv2ERH9qedGTd+mtVZug0SAlQAA0lEw References: <8CC66533A2F86A5-7CA4-2854F@webmail-d027.sysops.aol.com> From: To: X-OriginalArrivalTime: 18 Jan 2010 13:12:17.0074 (UTC) FILETIME=[DBC19920:01CA983F] X-Virus-Checked: Checked by ClamAV on apache.org You could try or the external task XmlTask http://ant.apache.org/external.html#XmlTask Jan=20 >-----Urspr=FCngliche Nachricht----- >Von: jhoomsharabi@netscape.net [mailto:jhoomsharabi@netscape.net]=20 >Gesendet: Montag, 18. Januar 2010 13:45 >An: user@ant.apache.org >Betreff: split version=20 > > >I have pom.xml, below is snippet of my pom.xml file: >pom.xml >------- > >xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"=20 >xsi:schemaLocation=3D"http://maven.apache.org/POM/4.0.0=20 >http://maven.apache.org/maven-v4_0_0.xsd"> > 4.0.0 > com.xkri.kill.tokens > tokens-active-dent > 7.5.02.02=20 > > jar > Colt and ADAM > This package provides the ${name} > : > : > : > > > I want to pick the version from node > 7.5.02.02 > and replace it to another config.xml: > config.xml > ---------- > > =20 >xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > =20 >xsi:schemaLocation=3D"http://www.colt.com=20 >InstallationTaskConfiguration.xsd"> > =20 > majorVersion=3D"5" minorVersion=3D"02"/> > parent=3D"base-dent" > state=3D"INSTALLING" > requiredDiskSpaceMode=3D"default" > rebootRequiredOnInstall=3D"false" > rebootRequiredOnUninstall=3D"false" > rebootRequiredOnUpgrade=3D"false" > backupOnUpgrade=3D"false"> > minorVersion=3D"02" subMinorVersion=3D"SNAPSHOT"/> > > > > > > > : > : > : > > > in config.xml file I want to reaplce in this format: > minorVersion=3D"02" subMinorVersion=3D"02"/> > can anyone give me an idea on how to copy and repace in above=20 >mentioned format? Also soe sit possible in ANT? > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org