On Monday May 8, 2006 16:18, [EMAIL PROTECTED] wrote: > I'm trying to use a "replace" task to recursively replace > a string in a set of files, but it only seems to work if > the file names have an extension (e.g. **/*.java). In my > case, I am trying to recursively edit the set of files > named "Root" that exist with the CVS subdirectories of > project checked out from CVS.
I think you are running into the default excludes in all directory based Ant tasks: <http://ant.apache.org/manual/dirtasks.html#defaultexcludes> > The task I'm trying looks like this: > > <replace > summary="yes" > dir="./" > token="foo" > value="bar" > includes="**/Root"/> Try: <replace summary="yes" dir="./" token="foo" value="bar" defaultexcludes="no" includes="**/Root"/> - Rob --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]