ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28518] New: - War files have lower case for WEB-INF path
Date Wed, 21 Apr 2004 16:35:48 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28518>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28518

War files have lower case for WEB-INF path

           Summary: War files have lower case for WEB-INF path
           Product: Ant
           Version: 1.6.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: matt.porter@glemser.com


After making a war file, any files that were at the root of WEB-INF have the
path web-inf (Lower case) and other files in sub-folders have the path
WEB-INF/myFolder. My build process is simple:
1. Build the WEB-INF directory and a few directories underneath it.
2. Get everything out of VSS. The files are going into the correct directories
and WEB-INF is capatalized in VSS.
3. Make the War file:
<target name="build" depends="compile" description="Create a WAR file">
  <war destfile="${dist.home}/${app.name}Build.war"
webxml="${build.home}/WEB-INF/web.xml">
    <fileset dir="${build.home}" casesensitive="yes"/>
  </war>
</target>

*When I make a directory on my machine called WEB-INF and put a file in it
called tester.txt and war it, I get the same results, a war file with one file
in it with the path web-inf\ (looking at the war with WinZip v8.1 sr1)

*When I use the war in our application to do a java
this.getClass().getResource(fileName); I am getting an exception that the file
can not be found.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message