Actually, the extension I am using is .vdb, which is zip file underneath, so
I would not be altering the original behaviour. I do like Ales's suggestion of
using the jboss-structure.xml file, I will try to use that.
Thank you for the replies.
View the original post :
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
Like Emanuel suggests, metadata/config files normally go to META-INF
(or WEB-INF in case of .war deployments).
If that doesn't suite you, instead of your own StructureDeployer,
you can simply declare your custom structure via jboss-structure.xml:
* http://www.jboss.org/community/docs/DOC-13178
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.
View the