Supporting more general globs in loader definition?

2011-06-23 Thread Rainer Jung
At the moment the file globs we support in the loader definitions in catalina.properties are hard coded to DIRECTORY/*.jar. Sometimes it would be helpful to allow a bit more flexible globs, like e.g. log4j-1.2.*.jar or similar. Would there be any interest if I would investigate whether we can

Re: Supporting more general globs in loader definition?

2011-06-23 Thread Rainer Jung
On 23.06.2011 16:34, Rainer Jung wrote: At the moment the file globs we support in the loader definitions in catalina.properties are hard coded to DIRECTORY/*.jar. Sometimes it would be helpful to allow a bit more flexible globs, like e.g. log4j-1.2.*.jar or similar. Would there be any

Re: Supporting more general globs in loader definition?

2011-06-23 Thread Christopher Schultz
Rainer, On 6/23/2011 10:39 AM, Rainer Jung wrote: Globs in the file name and not the directory part is the most important use case and easy to understand in its consequences. So I lean towards this type of improvement right now. So: /path/to/*.jar (allowed today) /path/to/foo*.jar

Re: Supporting more general globs in loader definition?

2011-06-23 Thread Rainer Jung
On 23.06.2011 16:51, Christopher Schultz wrote: Rainer, On 6/23/2011 10:39 AM, Rainer Jung wrote: Globs in the file name and not the directory part is the most important use case and easy to understand in its consequences. So I lean towards this type of improvement right now. So:

Re: Supporting more general globs in loader definition?

2011-06-23 Thread Rainer Jung
And this would be the patch: http://people.apache.org/~rjung/patches/tc7-loader-glob.patch Regards, Rainer On 23.06.2011 16:39, Rainer Jung wrote: On 23.06.2011 16:34, Rainer Jung wrote: At the moment the file globs we support in the loader definitions in catalina.properties are hard coded

Re: Supporting more general globs in loader definition?

2011-06-23 Thread Konstantin Kolinko
2011/6/23 Rainer Jung rainer.j...@kippdata.de: At the moment the file globs we support in the loader definitions in catalina.properties are hard coded to DIRECTORY/*.jar. Sometimes it would be helpful to allow a bit more flexible globs, like e.g. log4j-1.2.*.jar or similar. Would there be

Re: Supporting more general globs in loader definition?

2011-06-23 Thread Rainer Jung
On 23.06.2011 19:46, Konstantin Kolinko wrote: 2011/6/23 Rainer Jung rainer.j...@kippdata.de: At the moment the file globs we support in the loader definitions in catalina.properties are hard coded to DIRECTORY/*.jar. Sometimes it would be helpful to allow a bit more flexible globs, like

Re: Supporting more general globs in loader definition?

2011-06-23 Thread Christopher Schultz
Rainer, On 6/23/2011 4:02 PM, Rainer Jung wrote: But supporting a glob in the file name would also work. I'm always irritated when something that looks like it should work doesn't work. The fact that .../*.jar works but .../foo*.jar does not work is surprising, so I'm in support of adding