https://issues.apache.org/bugzilla/show_bug.cgi?id=51580
--- Comment #11 from Christopher Schultz <ch...@christopherschultz.net> 2011-08-25 15:18:55 UTC --- Interestingly enough, Apache Ant's "zip" and "jar" tasks both have an "encoding" attribute to control the charset used for filenames, but they have a subtle difference in their default configurations. The <zip> task defaults to the platform's default encoding while the <jar> task defaults to UTF-8 with a *strong* warning not to change the default <jar> encoding unless you know what you're doing. http://ant.apache.org/manual/Tasks/zip.html#encoding So it looks like Cleon must have used <zip> instead of the much more appropriate <war> task to create his WAR file. Still, I think it's a good idea to throw a different kind of exception. NPEs make it look like there is an actual bug in Tomcat which is certainly not the case. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org