This content has been marked as final.
Show 3 replies
-
1. Re: URLComparator and Filter config in jboss-service.xml
balteo Mar 13, 2005 1:56 PM (in response to balteo)Hello,
I figured out from jboss source code that all files whatever their extension are deployed except the extensions listed in the DeploymentFilter class (see DEFAULT_SUFFIXES constant). My question is now: do I need to recompile the file in order to exclude a specific extension or is there a way to do it by configuration??
Julien. -
2. Re: URLComparator and Filter config in jboss-service.xml
starksm64 Mar 16, 2005 6:43 PM (in response to balteo)4.0.2RC1 externalized the filter settings:
<!-- The FilterInstance specifies a URLLister.URLFilter for scanned directories. This DeploymentFilter is initialized with the given prefixes, suffixes and matches that define which URLs should be ignored. --> <attribute name="FilterInstance" attributeClass="org.jboss.deployment.scanner.DeploymentFilter" serialDataType="javaBean"> <!-- Files starting with theses strings are ignored --> <property name="prefixes">#,%,\,,.,_$</property> <!-- Files ending with theses strings are ignored --> <property name="suffixes">#,$,%,.BAK,.old,.orig,.rej,.bak,.sh,\,v,~</property> <!-- Files matching with theses strings are ignored --> <property name="matches">.make.state,.nse_depinfo,CVS,CVS.admin,RCS,RCSLOG,SCCS,TAGS,core,tags</property> </attribute>
-
3. Re: URLComparator and Filter config in jboss-service.xml
balteo Mar 17, 2005 4:53 AM (in response to balteo)Thanks Scott,
Excellent feature!
Julien.