aspose file tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Ant task to unzip , merge n zip ear for websphere Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "Ant task to unzip , merge n zip ear for websphere" Watch "Ant task to unzip , merge n zip ear for websphere" New topic
Author

Ant task to unzip , merge n zip ear for websphere

Priya Singh
Ranch Hand

Joined: Mar 19, 2004
Posts: 33
Hi,
I have to unzip , merge changes (through zip file ) and zip an ear file for websphere. I am using ant for this purpose.
i m using <ear> <zip> n <unzip> tasks but i couldn't find ne task to unzip an ear file ..
ne suggestions how to do it ?
thanks in advance
Mark Binau
Ranch Hand

Joined: Mar 04, 2004
Posts: 37
I am by no means certain, but my understanding is that an EAR file is just another archive and therefore I think you should be able to use <unzip>. Have you tried that?
Mark Binau
Ranch Hand

Joined: Mar 04, 2004
Posts: 37
I am by no means certain, but my understanding is that an EAR file is just another archive and therefore I think you should be able to use <unzip>. Have you tried that?
Mark Binau
Ranch Hand

Joined: Mar 04, 2004
Posts: 37
I am by no means certain, but my understanding is that an EAR file is just another archive and therefore I think you should be able to use <unzip>. Have you tried that?
Priya Singh
Ranch Hand

Joined: Mar 19, 2004
Posts: 33
this was working for war file , i need to do the same for an ear

property file="package.properties"
target name="rewar"
record name="PegaMergeLog.txt" action="start"

unzip src="${input.warfile}" dest="merge"
unzip src="${input.configfile}" dest="merge"

copy file="package.properties" tofile="merge/package.properties"
zip destfile="${output.warfile}" basedir="merge"
 
IntelliJ Java IDE
 
subject: Ant task to unzip , merge n zip ear for websphere
 
Threads others viewed
Manifest destiny!
Issue in deploying WAR file on websphere using ant
including xml file in .ear file
ear task issue
earExport within RAD 6.0
MyEclipse, The Clear Choice