I have an ear file which includes war files and jars. I'm using the unzip task to unzip the ear. the problem is that I want to see in my destination folder the war files etracted as well. for eample: I have c:\example.ear inside i have 1.jar, 2.jar 3.war, 4.war after extractio I would like to see:
c:\exmple
3.war (d)
4.war (d)
1.jar (f)
2.jar (f)
when d=directory f=file
well, apperantaly you cannot create a folder with the same name of a war file in the same location. So what I did in the end was move the war file to a tmp folder and unzip from there to the previous location. solve the trick :-)