ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter reilly <peter.rei...@corvil.com>
Subject Re: cvs commit: ant/docs/manual/OptionalTasks replaceregexp.html
Date Tue, 25 Nov 2003 09:37:53 GMT
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

On Tuesday 25 November 2003 09:33, Stefan Bodewig wrote:
> On Mon, 24 Nov 2003, Antoine Lévy-Lambert <antoine@antbuild.com>
>
> wrote:
> > IMO this is a bug, I do not like having to start ant with -D
> > options.
>
> <http://issues.apache.org/bugzilla/show_bug.cgi?id=15390>
>
> I've just reopened it, to increase visibility (I can't remember
> closing it, but it's probably been me).
>
> > I would like to change RegularExpression to make sure that the
> > regexpfactory only gets started with a project instance to get
> > properties from.
> >
> > Any ideas concerning this ?
>
> Give it a try 8-)
>
> Stefan


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message