[jboss-user] [Spring Integration] - Is Spring Deployer supposed to detect *.spring files inside a war's WEB-INF/lib directory?
Ales Justin
do-not-reply at jboss.com
Mon Apr 12 16:08:08 EDT 2010
Ales Justin [http://community.jboss.org/people/alesj] replied to the discussion
"Is Spring Deployer supposed to detect *.spring files inside a war's WEB-INF/lib directory?"
To view the discussion, visit: http://community.jboss.org/message/537004#537004
--------------------------------------------------------------
> I'm not sure that what you mean here, but in other instances entries from within WEB-INF/lib can contain deployment metadata info: e.g. a CDI bean deployment archive (library jar) may contain META-INF/beans.xml or a JPA PU deployment may contain META-INF/persistence.xml.
Sure, those are all valid alternative locations -- as per the spec.
But not all are. ;-)
e.g. see the JBDEPLOY-232 use case --> jboss-classloading.xml in some lib jar, treated as deployments metadata :-(
> I suppose that the same could apply for META-INF/jboss-spring.xml (as it happens now in the case of JBoss AS 5.0 and JBoss AS 5.1).
>
Sure, all I'm saying you need to re-think if this is still valid,
and if yes, then mark the deployers as the one that accepts alternative locations.
Otherwise it will not pick up metadata in lib's -- in after-jbdeploy-232 Deployers versions.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/537004#537004]
Start a new discussion in Spring Integration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2082]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100412/ea477848/attachment.html
More information about the jboss-user
mailing list