ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 19877] New: - prefix attribute of webinf sub-task of war core task no longer relative to WEB-INF
Date Tue, 13 May 2003 05:17:27 GMT
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.

Mime
View raw message