"scott.stark(a)jboss.org" wrote : The wiki I referenced is the guide. In any ide,
open your x-service.xml, create a x-beans.xml and follow the conversion logic.
OK, thought I was missing something more advanced. :-)
Is there some other 'fancy' way of doing this?
e.g.
| ServiceDeployment sd = readSD("my-service.xml");
| Transformer t = new Service2BeanJAXBTransformer();
| KernelDeployment kd = t.transform(KernelDeployment.class, sd);
| write("my-beans.xml", kd);
|
Having this with JAXB should be easy, right?
Probably just providing some mapping of service elements to beans elements?
And pushing this stuff into various plugins (plain Java.main, Eclipse, IDEA, Netbeans,
...) would not be bad either. ;-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096951#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...