• 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 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.
 
The only cure for that is hours of television radiation. And this 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