Let’s say I had a simple ant script which looked a little something like this:
<project name=”unzipstuff” default=”unzip”>
<unzip src=”/home/webapps/edwinstarr.war” dest=”/home/webapps/edwin/starr/” >
Why oh why oh why oh why (etc and so on) would it fail with the following error?
java.lang.RuntimeException: data starting at 0 is in unknown format
Is the .war file screwed up? If so, why does it extract ok if I do it manually? I wasted approximately 4 hours of my life on this before embarking on a convoluted and silly workaround which is leaving me feeling defeated.