Summary: | WAR task (or ZIP base ?) generates amazing archives | ||
---|---|---|---|
Product: | Ant | Reporter: | Philippe Maseres <p.maseres> |
Component: | Core tasks | Assignee: | Ant Notifications List <notifications> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | ||
Priority: | P3 | ||
Version: | 1.5.2 | ||
Target Milestone: | 1.5.3 | ||
Hardware: | PC | ||
OS: | other |
Description
Philippe Maseres
2003-04-07 15:38:49 UTC
*** This bug has been marked as a duplicate of 17648 *** OK ! I had a look to the duplicate 17648, but i don't understand if the bug has been fixed in 1.5.3 or not... Thanks again. Yes, it is fixed - we set the target milestone when a bug is fixed, in dicating in which release it will be available. Hi. After i posted my last comment, i tried again replacing the 1.5.2 with the 1.5.3 beta, using it from Eclipse and standalone. In fact, the war task in this version generates the archive such a way it can be browsed now with both WinZip and jar. But it still doesn't work during the Jonas/Tomcat classloading process. As i have few time to search further more, i mean inspecting how these use the war files to extract the classes and lib subdirectories content, i can't say why. Running it with -v flag, it still adds explicitly the WEB-INF directory to the archive, and i suppose here is the point the problem comes from. Is this really required, since, i think, the simple web.xml adding should be enough ? Do you mean the future 1.6 version will fixe it, or the 1.5.3 already does it ? Thanks again. To know whether the directory entry for WEB-INF is the problem, simply set the filesonly attribute of the task to true. |