• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Deploying a dynamic web project output as folder in eclipse

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a dynamic web project within an enterprise application project created in eclipse(galiloe) and am trying to deploy it in JBoss5.

Everything works just fine, but eclipse always creates the web project output war(within the enterprise ear) as an archive with the name of the web project. I am in need to have the deployable war as a folder with name of the folder ending with '.war' and not as an exact archive......

Where am i to change to have eclipse create the web project output as folder instead of an archive???


thanks
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you installed JBoss Tools into Eclipse? I believe that Tools does exploded deployment by default.
 
akhil achuthan
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I did not install anything extra from my part.. just used the JBoss5 server selection available by default in eclipse galileo.....

 
akhil achuthan
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I see that in the enterprise application project setting, by marking the dependency-type for the project(s) as 'consumes' puts the project output in exploded format in the server deploy folder, but this happens only for normal library/java projects.

This option does not work for a web or ejb project. Eclipse always creates ejb and web project output as archives inside the ear, whether it be consumes or uses...
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Eclipse always creates ejb and web project output as archives


That is correct. You need to install the JBoss Tools plugins and use those for your projects to get exploded deployment. (I guess my earlier hint was not enough. )
 
Montana has cold dark nights. Perfect for the heat from incandescent light. Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic