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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to