Summary: | OASIS zips can no longer be downloaded automatically | ||
---|---|---|---|
Product: | [WebTools] WTP Releng | Reporter: | David Williams <david_williams> |
Component: | releng | Assignee: | David Williams <david_williams> |
Status: | RESOLVED FIXED | QA Contact: | David Williams <david_williams> |
Severity: | normal | ||
Priority: | P3 | Keywords: | info |
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
David Williams
2009-07-20 01:34:58 EDT
Not sure if we can fix this, but at least wanted to document the issue and the work around. We should at least make it so that the whole build/test cycle doesn't fail if these zips can not be obtained. The main thing that causes immediate failure is that the <get task in ant does create a small zip file, from the contents of the HTTP response (which is an error code saying the URL is not valid, or similar). This small zip file isn't valid, of course, and later causes the <unzip ant task to fail. Since there is not an "ignoreErrors" attribute on <unzip, the main part of the fix will be to change to use an <exec element, which calls unzip, which will ignore any errors. The unit tests which use OASIS files may later fail, but at least things will continue. I've committed fix so at least the download/unzip won't fail ... even though the tests would still fail, unless the workaround is used. The workaround is to "manually" download and put the two zip files in the prereqs cache directory. |