ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Lévy-Lambert <anto...@antbuild.com>
Subject AW: cvs commit: ant/docs/manual/OptionalTasks replaceregexp.html
Date Tue, 25 Nov 2003 10:02:37 GMT
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:peter.reilly@corvil.com]
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message