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=32006>.
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=32006

new optional 'basedir' attribute for property task

           Summary: new optional 'basedir' attribute for property task
           Product: Ant
           Version: 1.6.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I propose adding a new optional 'basedir' attribute to the property task. This 
attribute could be use in conjunction with the 'location' attribute to specify 
the base directory to use when resolving relative locations (overriding the 
default of using the project basedir). For example:

<property name="myPath" location="xml/foo.xml" 
basedir="C:/projects/otherProject" />

would set myPath to "C:/projects/otherProject/xml/foo.xml"

And, similar to the current behavior, if the specified location is already 
absolute, basedir would be ignored, e.g.:

<property name="myPath" location="C:/foo.xml" 
basedir="C:/projects/otherProject" />

would set myPath to "C:/foo.xml".

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to