ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylwester Lesniak <tycoo...@yahoo.com>
Subject replaceregexp- help
Date Mon, 03 May 2004 14:41:56 GMT
Hi All, 
 
I am using Ant (1.5.3), jdk 1.4.1_02,
and have a file like:

  <mbean code="package.Task4"
         name="service=Naming">
    <attribute name="Port">9999</attribute>
  </mbean>

and want to change the port number to XXXX using
replaceregexp, so I can get back:

  <mbean code="package.Task4"
         name="service=Naming">
    <attribute name="Port">XXXX</attribute>
  </mbean>

I need a 'match' attribute to be started with: 
<mbean code="package.Task4"...


Can any body give me some suggestions,

thank you
Sylwester



	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message