Mario Ivankovits wrote:
The best would be that the Ant regex system with only ** * and ? could be easily extracted in one class or 2.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)
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
