[jboss-user] [Microcontainer] - StructureDeployer that supports subdeployments

beve do-not-reply at jboss.com
Fri Jul 31 10:19:59 EDT 2009


I'm writing a StructureDeployer to determine an esb deployment. An esb archive is exactly like a JarStructure which is what we've been using until now.

We have now got a requirement to support subdeployments. For example, we could have the following layout:
  |         deployment.xml
  |         jboss-esb.xml
  | org/jboss/esb
  |             Test.class
  | wars/
  |     war1.war
  |     war2.war
Now, since the wars dir does not have a META-INF directory it will not be identifed as a subdeployment when using the JarStructure deployer.

So I was thinking that I could simply use the same code in JarStructure for our EsbStructure,  but remove the requirement of subdeployment needing to have a META-INF directory. But this leads to all sorts of deployment errors.
Is anyone aware of an example of a StructureDeployer that support subdeployments in this manner? Or is there another way to accomplish this?



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

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

More information about the jboss-user mailing list