Thanks for the grep Peter,
I will need to have a look at all these uses of the regexp factory.
The trouble with the current implementation is that :
- we recommend to use ORO,
- but the JDK 14 regular expression engine has priority,
- so if you are running ant under JDK 1.4 you need to set this property
ant.regexp.regexpimpl
to choose ORO, and you only can do this via system property
I will try to fix this cleanly.
Antoine

-----Ursprüngliche Nachricht-----
Von: peter reilly [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 25. November 2003 10:38
An: Ant Developers List
Betreff: Re: cvs commit: ant/docs/manual/OptionalTasks
replaceregexp.html


Doing a quick grep on uses of the factory:
cd ~/cvs/ant.local/src/main/org/apache/tools/ant/
dgrep newRegexp "*.java"
DGrepping /home/preilly/cvs/ant.local/src/main/org/apache/tools/ant for
newRegexp
./taskdefs/optional/metamata/MAuditParser.java:87:        matcher = (new
RegexpMatcherFactory()).newRegexpMatcher();
./taskdefs/optional/sitraka/ReportFilters.java:126:            RegexpMatcher
matcher = factory.newRegexpMatcher();
./types/PropertySet.java:258:                RegexpMatcher matcher =
matchMaker.newRegexpMatcher();
./types/RegularExpression.java:109:        this.regexp =
factory.newRegexp();

- it is used more often without passing a project.
Peter



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to