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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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.)

Reply via email to