This content has been marked as final.
Show 3 replies
-
1. Re: Reopen this one?: SHRINKWRAP-93: ZipExporter should throw exception for empty archives
aslak Aug 3, 2010 4:40 AM (in response to michaelschuetz)It's not supported.
The fix is to handle the exception and rethrow our own. The JDK zip lib does not support outputting empty files.
-aslak-
-
2. Re: Reopen this one?: SHRINKWRAP-93: ZipExporter should throw exception for empty archives
michaelschuetz Aug 3, 2010 5:29 AM (in response to aslak)Hi Aslak,
OK - thanks for pointing this out.
Regards
Michael
-
3. Re: Reopen this one?: SHRINKWRAP-93: ZipExporter should throw exception for empty archives
alrubinger Aug 3, 2010 8:57 AM (in response to michaelschuetz)Yep, as Aslak points out this message *is* the fix, something which tells you exactly what went wrong and why:
java.lang.IllegalArgumentException: [SHRINKWRAP-93] Cannot use this JDK-based implementation to export as ZIP an archive with no content: test.war: 0 assets
S,
ALR