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 2003/05/13 07:17:27 UTC
DO NOT REPLY [Bug 19877] New: -
prefix attribute of webinf sub-task of war core task no longer relative to WEB-INF
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=19877>.
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=19877
prefix attribute of webinf sub-task of war core task no longer relative to WEB-INF
Summary: prefix attribute of webinf sub-task of war core task no
longer relative to WEB-INF
Product: Ant
Version: 1.5
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: jhyde@users.sf.net
The 'prefix' attribute of the 'webinf' sub-task of the 'war' core task should
be relative to '/WEB-INF'. It had the correct behavior in 1.4, but has changed
in 1.5.
Consider the following:
<war warfile="foo.war">
<webinf dir="demo" prefix="queries" includes="FoodMart.xml"/>
</war>
In 1.4, foo.war would contain a single file with path /WEB-
INF/queries/FoodMart.xml. In 1.5, the file has path /queries/FoodMart.xml.