{"id":564,"date":"2004-02-04T14:16:59","date_gmt":"2004-02-04T18:16:59","guid":{"rendered":"http:\/\/wordpress.cephas.net\/?p=564"},"modified":"2004-02-04T14:16:59","modified_gmt":"2004-02-04T18:16:59","slug":"ant-war-task-web-inf-in-lowercase","status":"publish","type":"post","link":"https:\/\/cephas.net\/blog\/2004\/02\/04\/ant-war-task-web-inf-in-lowercase\/","title":{"rendered":"Ant WAR Task &amp; WEB-INF in lowercase"},"content":{"rendered":"<p>If you use the <a href=\"http:\/\/ant.apache.org\/\">Ant<\/a> <a href=\"http:\/\/ant.apache.org\/manual\/CoreTasks\/war.html\">war task<\/a> to create, well, war files, and you notice that the resulting archive has a lowercase WEB-INF folder, it&#8217;s a not a bug with Ant, as the documentation states:<\/p>\n<blockquote><p>\n We regulary receive bug reports that this task is creating the WEB-INF directory, and thus it is our fault your webapp doesn&#8217;t work. The cause of these complaints lies in <a href=\"http:\/\/www.winzip.com\/\">WinZip<\/a>, which turns an all upper-case directory into an all lower case one in a fit of helpfulness. Please check that jar xvf yourwebapp.war shows the same behaviour before filing another report.\n<\/p><\/blockquote>\n<p>Easy fix. Open up WinZip and click Options &#8211;&gt; Configuration and then check the option for &#8216;Allow all upper case file names&#8217;.  <br \/>\n<a href=\"\/images\/misc\/winzip_uppercase.gif\"><img src=\"\/images\/misc\/winzip_uppercase_small.gif\" border=\"0\" alt=\"Winzip Options Menu\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you use the Ant war task to create, well, war files, and you notice that the resulting archive has a lowercase WEB-INF folder, it&#8217;s a not a bug with Ant, as the documentation states: We regulary receive bug reports that this task is creating the WEB-INF directory, and thus it is our fault your &hellip; <a href=\"https:\/\/cephas.net\/blog\/2004\/02\/04\/ant-war-task-web-inf-in-lowercase\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Ant WAR Task &amp; WEB-INF in lowercase<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/564"}],"collection":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/comments?post=564"}],"version-history":[{"count":0,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/posts\/564\/revisions"}],"wp:attachment":[{"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/media?parent=564"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/categories?post=564"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cephas.net\/blog\/wp-json\/wp\/v2\/tags?post=564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}