Bug 25655 - [PATCH] Dependencies with regular expressions
Summary: [PATCH] Dependencies with regular expressions
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core (show other bugs)
Version: 1.6.0
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL: http://wiki.tryphon.org/JavaWiki/AntS...
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2003-12-19 15:55 UTC by Alban Peignier
Modified: 2009-07-31 03:53 UTC (History)
1 user (show)



Attachments
changes Project and Target to resolve dependencies with a reg exp (5.80 KB, patch)
2003-12-19 15:56 UTC, Alban Peignier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alban Peignier 2003-12-19 15:55:23 UTC
- allows regular expressions into the target dependencies

- allows the final .* and .*. expressions into the dependencies
  . a final .* is replaced by the '\.[^.]*$'
  . a .*. is replaced by '\.[^.]*\.'

- uses the [...].ant.util.regexp.RegexpMatcher class

- disabled if no supported regular expression matcher is found

- fails if no targets match the given expression

- sorts the matching targets by the alphabetical order
Comment 1 Alban Peignier 2003-12-19 15:56:56 UTC
Created attachment 9642 [details]
changes Project and Target to resolve dependencies with a reg exp