commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Goubard <anthony.goub...@chello.nl>
Subject Re: [vfs][all][poll]regular expression library or jdk1.4 as minimum requirement
Date Mon, 14 Jun 2004 20:36:56 GMT
Mario Ivankovits wrote:

> Hello!
>
> A contribution of Rami Ojares brings in an "PatternSelector" to handle 
> ant-style patterns (/dir/**/file) to select files.
> This class currently uses the jdk1.4 regular expression library.
>
> Now there are some questions how to handle the regexp thing:
> [ ] Avoid dependency to jdk1.4.
> [ ] ... use jakarta-regexp
> [ ] ... use jakarta-oro
> [ ] ... use the regexp bundled with ant. But then we could not use the 
> PatternSelector without the ant.jar and have to move it to the vfs.ant 
> package. This powerfull thing might then not be useable for projects 
> without it.
>
> [X] Dont bother and use jdk1.4 as minimum requirement (and its regexp)
>
The best would be that the Ant regex system with only ** * and ? could 
be easily extracted in one class or 2.
If I understand correctly if the jdk 1.4 is the minimum requirement and 
someone uses VFS with jdk 1.2 or 1.3 only the PatternSelector will throw 
a ClassNotFoundException, right?

Anthony

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


Mime
View raw message