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=31947>.
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=31947

War task should flatten files in <lib> element

           Summary: War task should flatten files in <lib> element
           Product: Ant
           Version: 1.6.2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When building a war file using the War task and the <lib> element, the files
specified by the <lib> should be automatically flattened as they are added to
the WAR file.

There is no reason to put a jar under WEB-INF/lib except to have it included in
the servlet classpath, but only files exactly inside WEB-INF/lib will be added.

In my build environment, I'm collecting a number of jar files spread over a few
different directories; the names of the JARs will be unique, but they are buried
one level deep (a structure based on the maven group id of the JAR).

Currenlty, I have to copy and flatten the files to a single directory and
include that.  This is somewhat haphazard I think and should be rolled directly
into the task.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to