DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7683>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7683 War task adds files to web-inf directory, instead of WEB-INF directory Summary: War task adds files to web-inf directory, instead of WEB-INF directory Product: Ant Version: 1.4.1 Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] The attached zip file, ant-test.zip, shows that running ant against the build.xml file results in a test.jar file that has files in a web-inf directory, instead of the WEB-INF directory. The web.xml file and all files added to web-inf (one-level deep in the jar file) using the webinf nested element exhibit this behavior. I looked at the source code and it looks right... the code adds the WEB-INF path to a File object and adds it to a ZipFileSet. May be a platform specific issue. Adding files using the webinf nested element that are > one level deep in the jar file fixes the problem. The issue is that JBoss 2.4.4 rejects the war file if the web.xml files is not found in WEB-INF (case sensitive). So the war utility is unusable for this app server and the jar core task will be have to be used as a workaround. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
