• 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
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

deploying and ear as an exploded directory

 
town drunk
( and author)
Posts: 4118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'd like to deploy an ear on weblogic 8.1.4, then have weblogic automagically explode that ear into a working directory. Any suggestions?

thanks!
M
 
Bartender
Posts: 1844
Eclipse IDE Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We use Ant/Maven to do this. Pretty much after the script builds the .EAR/.WAR, we explode the files to a separate directory and then copy them to the Weblogic directory


I'm not sure if this helps you or not; I don't know of a way to get Weblogic itself to do this.
 
Max Habibi
town drunk
( and author)
Posts: 4118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Joel,

I was afraid of this: basically having to 'hand-write' an ant script. I was hoping there was an easy checkbox, somewhere, that would explode the directory for me. No such, it seems .

Anyway, thanks for taking the time for provide a detailed answer.

Happy Holidays!
M
 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

You can also look at

http://maven-explosion.sourceforge.net/

You can exploded you EAR file and any other containes artifacts.
 
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What we did a previous project was to have an Ant target which built an exploded directory structure, and another target which created an EAR file from that structure using the BEA-supplied wlpackage Ant task. Note: this only works in a split development directory structure.

We can deploy from either the directory or EAR file, but our policy is to deploy the EAR file in live. But for development, it can be useful (saves time) to deploy the exploded directory.
 
Willie Smits increased rainfall 25% in three years by planting trees. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic