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 16915] - WAR task ignores "lib" nested element when placed after "classes"
Date Wed, 12 Feb 2003 14:19:12 GMT
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"

bodewig@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From bodewig@apache.org  2003-02-12 14:19 -------
This is what I get by running the test build script:

[bodewig@bodewig 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
[bodewig@bodewig 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
[bodewig@bodewig 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
[bodewig@bodewig 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.

Mime
View raw message