On Thu, 2003-01-09 at 22:13, Scott M Stark wrote: > Read the URLDeploymentScanner Filter attribute comment in conf/jboss-service.xml: > > <mbean code="org.jboss.deployment.scanner.URLDeploymentScanner" > name="jboss.deployment:type=DeploymentScanner,flavor=URL"> > ... > <!-- The Filter specifies a java.io.FileFilter for scanned > directories. Any file not accepted by this filter will not be > deployed. The org.jboss.deployment.scanner.DeploymentFilter > rejects the following patterns: > "#*", "%*", ",*", ".*", "_$*", "*#", "*$", "*%", "*.BAK", > "*.old", "*.orig", "*.rej", "*.bak", "*,v", "*~", ".make.state", > ".nse_depinfo", "CVS", "CVS.admin", "RCS", "RCSLOG", "SCCS", > "TAGS", "core", "tags" > --> > <attribute >name="Filter">org.jboss.deployment.scanner.DeploymentFilter</attribute> > > Create you own FileFilter implementation to extend this set.
org.jboss.deployment.scanner.DeploymentFilter already supports specifying rejection criteria in its constructor: /** * Create using a custom set of matches, prefixes, and suffixes. If any of * these arrays are null, then the corresponding default will be * substituted. */ public DeploymentFilter(String[] matches, String[] prefixes, String[] suffixes) If only the URLDeploymentScanner MBean allows me to specify them in jboss-service.xml. But I'm pushing my luck here. I already got more help than I expected. Thanks, -- Weiqi Gao [EMAIL PROTECTED] ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user