Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Creating .ear file from zip file

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am having a zip file. Zip file is actually binary of the application. Zip file contains folders bin,doc,server,sql. I want to create .ear file from zip file.
.ear file created should be having all folder structure of .ear file i.e. META-INF, application.xml
So how to create .ear file from zip file, so that .ear file can be deployed on JBoss Application server.
 
Ranch Hand
Posts: 1871
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

The ear file is not just a "zipped file".

It has to follow a structure of its own and also it has additional files for "information" for the application servers.

You might need to extract the zip file. create the necessary ear dependent files. Use a tool like maven to create the ear file

Br
Rahul Mahindrakar
 
Dipti Mogare
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi rahul,

Which maven plugin I can use to create .ear.
Because I am having bin,server,doc,sql folder in the zip file.
bin folder contains exe and batch files. server contains server/default/deploy and sql contains database related queries.
And the ear file structure should ideally having META-INF folder, then war and ejbs.
So how to create all that?
 
Rahul Mahindrakar
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

.ear stands for Enterprise Archive which is kind of a "java solution"

What are you trying to deploy here. It does not seem to be a java application.
 
Dipti Mogare
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually i was having one java enterprise application source code. Using build.xml i got the zip file. But modifying the build.xml of source code to get .ear is not working.
 
The only thing that kept the leeches off of me was this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic