Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Generation of war from jboss

 
samir ware
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers,
Is there any way we can tell Jboss to create only war file instead of ear? My project is not having enterprise beans. So I wanna create just a war file . (I am getting some problems because of war files in my application). Any white paper link will greatly be appreciated.
Thanks in advance
Samir
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JBoss doesn't create any war or ear files. It's upto the application developer to use the build tools to generate the appropriate package. How are you creating the .ear/.war file?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I make the assumption that you are using Eclipse? If so, then to create a WAR, create a Dynamic Web Project. Also, make sure you leave unchecked the "Add project to an EAR" option on the first page of the project wizard.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic