On Oct 13, 2005, at 13:59, Pant, Hridyesh wrote:

Hi,
I have on ear file,I want to extract this ear file and need to changed
some text data in files inside this ear file.could anybody help me..

An ear file is a jar file[*], which in turn is just a zip file.

So looks like the options are you either use some Perl module to work with Zips, or delegate to the very jar Java utility via external calls.

-- fxn

[*] From http://tinyurl.com/dkzbw:

An EAR (Enterprise Archive) file is a JAR file that contains a J2EE application. A J2EE application is a group of Web modules that collectively perform as a single entity. A Web Module is an entity consisting of one or more resources such as HTML files, Java class files, XML files, etc. Web Modules are packaged in Web Archive (WAR) files. Looking at it from a top-down view, EAR files contain JAR files and WAR files. Packaging resources in WAR files, JAR files and eventually EAR files, makes it easy to reuse and reassemble components as new J2EE applications and distribute them to new environments.


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to