[jboss-user] [JBoss Eclipse IDE (users)] - Building mutiple MDB deployments using xdoclet

kapilanand do-not-reply at jboss.com
Wed Sep 6 15:47:15 EDT 2006

hi I have an MDBean code that will run with multiple JMS destinations. The way to do this with xdoclet is to call xdoclet multiple times with different values of environment properties and use those environment properties to define the bean name, jms destination name, xdoclet-output-destination etc.

But I do not know how this could be done in JBoss Eclipse IDE.
One way I could do is to customize xdoclet-build.xml and create one build.xml for each MDB and then run them as Ant builds.

But this has two side effects:
1) The target (generation) folders are not auto-refreshed in eclipse
2) These xdoclet-build.xml cannot be reused from a command line build.xml, that builds the whole product. Perhaps I could separate out the xdoclet target in another build.xml that could be included in other build.xml and target invoked with different set of properties. I am not sure if that would work. (Would have worked with an ANT macro).

Please let me know if you have any bright ideas.


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

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

More information about the jboss-user mailing list