List Info

Thread: DO NOT REPLY - War task should flatten files in element




DO NOT REPLY - War task should flatten files in <lib> element
country flaguser name
United States
2007-05-29 12:05:02
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=31
947>.
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.boutemyfree.fr changed:

           What    |Removed                     |Added
------------------------------------------------------------
----------------
           Priority|P3                          |P2




------- Additional Comments From herve.boutemyfree.fr 
2007-05-29 10:05 -------
Working on Maven Ant Tasks, flattening a fileset resolved by
Maven would be a
great enhancement: see http://j
ira.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=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeant.apache.org
For additional commands, e-mail: dev-helpant.apache.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )