Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problems in ANT script for generating ejb for jboss 5.1.0

 
Kuts Aryan
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Kuts Aryan
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Peter.I got my solution from your reply.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic