aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes problems in ANT script for generating ejb for jboss 5.1.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "problems in ANT script for generating ejb for jboss 5.1.0" Watch "problems in ANT script for generating ejb for jboss 5.1.0" New topic
Author

problems in ANT script for generating ejb for jboss 5.1.0

Kuts Aryan
Greenhorn

Joined: Jun 27, 2009
Posts: 14
I am trying to generate my EJBs jboss.xml for JBoss 5.1.0.GA automatically using EJBDoclet and ANT.I am using the following ant script to generate the jboss.xml.



but generated jboss.xml is not supporting jboss 5.1.0GA as I am mentioning version as 4.0.
I tried given version=5.1.0 or version=5.1.But either way it did not work.Please help me how to automatically generate jboss.xml which will be compatible with jboss5.1.0GA

Thanks
Prabuddha
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

Looking at the documentation for the jboss options for the ejbdoclet task, the latest it supports is 4.0:
http://xdoclet.sourceforge.net/xdoclet/ant/xdoclet/modules/jboss/ejb/JBossSubTask.html

You will either have to modify ejbdoclet to support 5.0, or come up with some other means to generate that file.


JBoss In Action
Kuts Aryan
Greenhorn

Joined: Jun 27, 2009
Posts: 14
Thanks Peter.I got my solution from your reply.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problems in ANT script for generating ejb for jboss 5.1.0