"thomas.diesler(a)jboss.com" wrote :
| Yes, please show me the code that does this.
A bunch of our tests do this. ;-)
OK, but here it goes:
| DeployerClient main = getMainDeployer();
| Deployment deployment = createSimpleDeployment("some_name");
| MutableAttachments mutableAttachments =
(MutableAttachments)deployment.getPredeterminedManagedObjects();
| mutableAttachments.addAttachment(JBossWebMetaData.class, jbwmd);
| main.deploy(deployment);
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132107#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...