On Mon, 31 Jan 2005, Dominique Devienne <[EMAIL PROTECTED]> wrote: >> From: Stefan Bodewig [mailto:[EMAIL PROTECTED] >> On Fri, 28 Jan 2005, Douglas Kramer <[EMAIL PROTECTED]> wrote: >> > I'm new to Ant and have been wanting to understand optional tasks >> > better. I'm trying to decide between using ReplaceRegExp >> > and PropertyFile (which is more what I want, but has the >> > comment bug). I wanted to figure out which to use based >> > perhaps on the library for it. >> >> PropertyFile doesn't need any additional library. In theory >> ReplaceRegExp on JDK 1.4 doesn't either, but we highly recommend >> using ORO over using JDK's java.util.regexp package. > > And I'm curious to know why?
Mainly because of the platform dependency of the line separator in JDK 1.4 - see replaceregexp manual page. Stephane also found a couple of other inconsistencies and problems with it. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
