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 <[EMAIL PROTECTED]> > > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]