[jboss-user] [JBoss Microcontainer Users] - Re: Single Deployment Unit from multiple files inside a zip

emuckenhuber do-not-reply at jboss.com
Sat Nov 28 04:54:08 EST 2009


"rareddy" wrote : I am not sure how the "StructureDeployer" works, however once I created a structure for my version of the ZIP file, it works as I expected. The deployer invokes once for "a.xml" and once for "b.xml" then invokes merge for the "zip" metadata iteself with metadata from a.xml and b.xml files.

The StructureDeployers determine classpath and metadata locations of a deployment mostly independent of the file extension. The problem with providing a StructureDeployer for ".zip" files is that you modify the behavior for all ".zip" files, which shouldn't be done.

Therefore i'd rather suggest that you move your deployment descriptors to the "META-INF" folder, which is the standard metadata location or maybe provide your own extension.

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267894#4267894

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267894



More information about the jboss-user mailing list