ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lee, Michael.M" <Michael.M....@westgroup.com>
Subject replaceregexp
Date Tue, 04 Mar 2003 14:43:54 GMT
Hello~ all.  

I have an urgent question to ask..

I'm trying to use replaceregexp command to replace tabs with single spaces.

However, when I run the code on the bottom, it does not do a thing even
though it says "build successful"

the ${working_folder} contains at least 100 files, but it only takes 3
seconds to run!  
If it says there is an error, i can debug this.  But it does nothing to the
files yet it says the build successful!  it's hard to know what i did
wrong..

could anyone please help me out?

Thanks a lot!


code starts here:

<target name="removetab01">

  <replaceregexp byline="true">
    <regexp pattern="&#9;" />
    <substitution expression=" " />
    	<fileset dir="${working_folder}">
  		<filename name = "**/*.html" />
  		<filename name = "**/*.jsp" />
  		<filename name = "**/*.js" />
		<filename name = "**/*.xsl" />
 		<filename name = "**/*.css" />
  	</fileset>
  </replaceregexp>
</target>

Mime
View raw message