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=16915>. 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=16915 WAR task ignores "lib" nested element when placed after "classes" [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Additional Comments From [EMAIL PROTECTED] 2003-02-12 14:19 ------- This is what I get by running the test build script: [EMAIL PROTECTED] tmp]$ ant -f 16915.xml Buildfile: 16915.xml clean: prep: [mkdir] Created dir: /tmp/web/WEB-INF/lib [mkdir] Created dir: /tmp/web/WEB-INF/classes [touch] Creating /tmp/web/WEB-INF/web.xml [touch] Creating /tmp/web/foo.gif [touch] Creating /tmp/web/foo.jsp [touch] Creating /tmp/web/WEB-INF/classes/foo.class [touch] Creating /tmp/web/WEB-INF/lib/foo.jar [mkdir] Created dir: /tmp/output lib-after-classes: [war] Building war: /tmp/output/myApp.war BUILD SUCCESSFUL Total time: 1 second [EMAIL PROTECTED] tmp]$ zip -Tv output/myApp.war Archive: output/myApp.war testing: META-INF/ OK testing: META-INF/MANIFEST.MF OK testing: foo.gif OK testing: foo.jsp OK testing: WEB-INF/classes/foo.class OK testing: WEB-INF/lib/foo.jar OK testing: WEB-INF/ OK testing: WEB-INF/web.xml OK No errors detected in compressed data of output/myApp.war. test of output/myApp.war OK [EMAIL PROTECTED] tmp]$ ant -f 16915.xml lib-before-classes Buildfile: 16915.xml clean: [delete] Deleting directory /tmp/web [delete] Deleting directory /tmp/output prep: [mkdir] Created dir: /tmp/web/WEB-INF/lib [mkdir] Created dir: /tmp/web/WEB-INF/classes [touch] Creating /tmp/web/WEB-INF/web.xml [touch] Creating /tmp/web/foo.gif [touch] Creating /tmp/web/foo.jsp [touch] Creating /tmp/web/WEB-INF/classes/foo.class [touch] Creating /tmp/web/WEB-INF/lib/foo.jar [mkdir] Created dir: /tmp/output lib-before-classes: [war] Building war: /tmp/output/myApp.war BUILD SUCCESSFUL Total time: 0 seconds [EMAIL PROTECTED] tmp]$ zip -Tv output/myApp.war Archive: output/myApp.war testing: META-INF/ OK testing: META-INF/MANIFEST.MF OK testing: foo.gif OK testing: foo.jsp OK testing: WEB-INF/lib/foo.jar OK testing: WEB-INF/classes/foo.class OK testing: WEB-INF/ OK testing: WEB-INF/web.xml OK No errors detected in compressed data of output/myApp.war. test of output/myApp.war OK The archives are identical.
