Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 98218 invoked from network); 14 Mar 2005 15:28:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Mar 2005 15:28:14 -0000 Received: (qmail 89757 invoked by uid 500); 14 Mar 2005 15:28:09 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 89615 invoked by uid 500); 14 Mar 2005 15:28:09 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 89602 invoked by uid 99); 14 Mar 2005 15:28:09 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ext-ch1gw-7.online-age.net (HELO ext-ch1gw-7.online-age.net) (64.37.194.15) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 14 Mar 2005 07:28:07 -0800 Received: from int-ch1gw-2.online-age.net (int-ch1gw-2 [3.159.232.66]) by ext-ch1gw-7.online-age.net (8.12.11/8.12.11/20050527-JWF) with ESMTP id j2EFS4I7000966 for ; Mon, 14 Mar 2005 10:28:04 -0500 Received: from casjcx01nege.ne.ge.com (localhost [127.0.0.1]) by int-ch1gw-2.online-age.net (8.12.9/8.12.3/990426-RLH) with ESMTP id j2EFRaQJ009738 for ; Mon, 14 Mar 2005 10:27:37 -0500 (EST) Received: by casjcx01nege.ne.ge.com with Internet Mail Service (5.5.2657.72) id <1NZY898X>; Mon, 14 Mar 2005 07:25:07 -0800 Message-ID: From: "Conelly, Luis (GE Energy, Non GE, GENE)" To: Ant Users List Subject: RE: problem with zipfileset and fileset storing directories with xml files in them Date: Mon, 14 Mar 2005 07:35:44 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N >From the ant manual | War Task We regulary receive bug reports that this task is creating the WEB-INF directory, and thus it is our fault your webapp doesn't work. The cause of these complaints lies in WinZip, 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. http://ant.apache.org/manual/CoreTasks/war.html -----Original Message----- From: Kevin Duffey [mailto:supreme_java_guru_1@yahoo.com] Sent: Sunday, March 13, 2005 2:38 PM To: Ant Users List Subject: problem with zipfileset and fileset storing directories with xml files in them Hey all, I am hoping I am just losing my mind here. When I use the WAR, JAR or ZIP task to create an archive, every time I try to store any directories that have .xml files in them, the directories are lowercased. Always. I do something like this: Every time I open the file.war (or if I name it file.zip or anything else.. its the same), the WEB-INF path is ALWAYS lowercased to web-inf/ in the path column of the zip file. If I use a dir like KKII that is stored on the filesystem in uppercase (windows system) and even specify a prefix that is all uppercase, if there is a .xml file below that dir, the dir name is ALWAYS lowercased in the archive. If there isn't a .xml file, it is stored with whatever case I use in the prefix="". Please tell me why this is? The reason is, at least unless something else is wrong, when I try to deploy my .war file to tomcat (5.5.7), the .war file when I open it in winzip shows both WEB-INF/ paths and web-inf/ paths. The web-inf/ paths are where my web.xml is found. The output of tomcat says it can't find the web.xml of my web application. Even if I name ALL the dirs to web-inf/ lowercase I still get this. On disk, it shows up (once tomcat expands the .war file) was WEB-INF, but it still for some reason is not finding the web.xml. Anyone got any clues? Why is the war/zip/jar task always lowercasing dirs with .xml files in them? I would expect it to behave as I tell it to, using prefix="" to upper-case. Thanks. __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org