You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/10/28 23:17:52 UTC
DO NOT REPLY [Bug 31947] New: -
War task should flatten files in element
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: dev@ant.apache.org
ReportedBy: hlship@apache.org
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org