The apache sources and svn [1] contains file called test.exe. Reading the bug#16213 it seems to be self-extracting zip archive created by WinZip. However running the test.exe displays a warning: This copy of WinZip Self-Extractor is NOT LICENSED for distribution. Any distribution of this file is prohibited and is a violation of US Copyright law and international treaty. And the content of the archive seems not correct at all - there are many references to WinZip, so the content might be copyrighted too. Please recreate test.exe using some free zip program (like InfoZip [3]) and using copyright safe content - adding a README explaining it is also welcome. [1] http://svn.apache.org/viewvc/ant/core/trunk/src/etc/testcases/taskdefs/zip/test.exe?view=log [2] http://issues.apache.org/bugzilla/show_bug.cgi?id=16213 [3] http://www.info-zip.org/
Created attachment 25249 [details] The WinZip warning when running using wine This is a warning I mentioned in an initial description.
I see, and I agree this is unfortunate. For the purpose of the testcase, any self-extracting archive would do. Unfortunately I've failed to create a self extracting archive using InfoZIP and don't have a version of WinZIP myself. The file in question itself is probably a sample that ships with WinZIP (judging from the ReadMe.txt), it is the extractor code embedded inside the archive that we must not distribute.
> For the purpose of the testcase, any self-extracting archive would do. > Unfortunately I've failed to create a self extracting archive using InfoZIP > and don't have a version of WinZIP myself. Sorry, I missread the zip man page - the -A just skips the sfx header, it's not able to create SFX archive. I found the Zip2Secure - it'd be free (as a bear?) and might be used. Sorry I'm not running Windows, so I cannot help you more in this particular case. http://www.chilkatsoft.com/chilkatSfx.asp
(In reply to comment #3) > I found the Zip2Secure yes, found that as well and tried it, but the result itself is not a valid ZIP archive. WinZIPs self extracting zips can be extracted with other zip implementations (like InfoZIP's) but Zip2Secure created ones can't. I'm not convinced it has to be Windows, the Wikipedia page on self extracting archives lists alternatives. For our tests the resulting executable (platform is not relevant) has to be a valid zip archive again. Maybe another community member has access to a licensed version of WinZIP and can create an unencumbered archive. I'll let this sit for a few days - worst case we are going to disable the test and delete the ZIP entirely.
svn revision 933479 removes the file