You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by ji...@apache.org on 2004/04/21 08:54:54 UTC
[jira] Closed: (MODEL-6) Improve the handling of filesets in Merlin's classpath directive
Message:
The following issue has been closed.
Resolver: Timothy Bennett
Date: Tue, 20 Apr 2004 11:54 PM
Added a full FilesetModel that is invoked by the ClassLoaderModel to resolve any/all fileset directives embedded in the classpath directive. This fileset resolver model uses pattern matching logic from the Apache Ant project to provide Merlin with fileset directives similar to Ant.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/MODEL-6
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MODEL-6
Summary: Improve the handling of filesets in Merlin's classpath directive
Type: Improvement
Status: Closed
Priority: Minor
Resolution: FIXED
Project: Avalon Composition
Components:
Architecture
Implementation
Runtime
Assignee: Timothy Bennett
Reporter: Timothy Bennett
Created: Sat, 10 Apr 2004 12:24 AM
Updated: Tue, 20 Apr 2004 11:54 PM
Description:
Basically in a <classloader><classpath> we can declare
<fileset dir="wherever">
<include name="abc.jar"/>
<include name="xyz.jar">
</include>
</fileset>
There is no current wilcard support - e.g:
<fileset dir="lib"/>
Should include all files in the directory.
<fileset dir="lib">
<include name="*.jar"/>
</fileset>
should be possible and even better is:
<fileset dir="lib">
<include name="abc*.jar"/>
<exclude name="xyz.jar/>
</fileset>
Also, we should attempt to implement as much of the Ant-like fileset patterns like:
<fileset dir="lib">
<include name="**/*.jar">
</fileset>
which would include all jars in the lib dir and all its subdirectories?
These are some of the main use cases, and the ones that will be addressed first, but are by no means an exhaustive set of use cases.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org