[jboss-dev] jboss-beans.xml versus spring-beans.xml

Adrian Brock abrock at redhat.com
Tue Jul 29 08:40:02 EDT 2008


On Tue, 2008-07-29 at 07:37 -0500, David M. Lloyd wrote:
> On 07/29/2008 04:17 AM, Adrian Brock wrote:
> > Since a number of users are complaining about us
> > trying to process WEB-INF/spring-beans.xml
> > as an MC -beans.xml file, even though
> > spring-beans.xml should be in WEB-INF/classes
> > I'm going to go through and change all our
> > -beans.xml files to end with -jboss-beans.xml
> 
> Does the file name matcher not use a longest-match kind of rule?  If not, 
> perhaps it should...  Intuitively this seems like the wrong move to me, but 
> I admit I'm not really sure why it seems that way.

The matching logic is in AbstractParsingDeployer.
Currently it is very simple - suffix matching, if you want to contribute
some more rules that's the place to do it.

> 
> - DML
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx




More information about the jboss-development mailing list