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 17871] New: - war task's webxml attrib no longer is able to use value with a starting backslash for the path in Windows
Date Tue, 11 Mar 2003 12:53:10 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=17871>.
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=17871

war task's webxml attrib no longer is able to use value with a starting backslash for the
path in Windows

           Summary: war task's webxml attrib no longer is able to use value
                    with a starting backslash for the path in Windows
           Product: Ant
           Version: 1.6Alpha (nightly)
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: stoehr@cincro.com


The "war" task's "webxml" attrib is no longer able to use a value with a 
starting backslash for the path in Windows.

For example, if the "webxml" attrib value is specified as "\test\web.xml", in 
previous releases (before v1.5.2 [like v1.5Beta]), the "war" task was able to 
interpret this as meaning that the "web.xml" file located in the "test" 
directory of the project's base drive should be used.

With the latest nightly build (and v1.5.2), the "war" task ignores the previous 
example "webxml" attrib.

(Note that other attribs of the "war" task like "destfile", "basedir", etc. are 
able to handle correctly values that start with "\".  Perhaps this is due to 
the fact that the "war" file subclasses the "zip" task.)

Mime
View raw message