This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
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


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"
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Ant task to unzip , merge n zip ear for websphere
 
Similar Threads
ear task issue
Manifest destiny!
including xml file in .ear file
Issue in deploying WAR file on websphere using ant
earExport within RAD 6.0