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 2007/05/29 19:05:02 UTC
DO NOT REPLY [Bug 31947] - 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
herve.boutemy@free.fr changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
------- Additional Comments From herve.boutemy@free.fr 2007-05-29 10:05 -------
Working on Maven Ant Tasks, flattening a fileset resolved by Maven would be a
great enhancement: see http://jira.codehaus.org/browse/MANTTASKS-39
I looked at o.a.t.a.tasks.War class:
public void addLib(ZipFileSet fs) {
// We just set the prefix for this fileset, and pass it up.
fs.setPrefix("WEB-INF/lib/");
super.addFileset(fs);
}
Instead of
// We just set the prefix for this fileset, and pass it up.
fs.setPrefix("WEB-INF/lib/");
I think
// We just set the full path for this fileset, and pass it up.
fs.setFullpath("WEB-INF/lib/");
would do what we are expecting.
WDYT?
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org