ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 53244] New: Add "useDestinationBasedir" to import task
Date Wed, 16 May 2012 15:50:14 GMT

          Priority: P2
            Bug ID: 53244
           Summary: Add "useDestinationBasedir" to import task
          Severity: normal
    Classification: Unclassified
          Hardware: PC
            Status: NEW
           Version: unspecified
         Component: Core tasks
           Product: Ant

When using the import task, users are forced to changed all paths in the
imported file, so they are based on ${imported.basedir} instead of just the
normal basedir.  See:

This is extremely cumbersome when one want's to reuse existing ant code 

A attribute to the import task below would solve this problem. When set to
true, the imported ant file would be resolved using it's default basedir,
instead of that of the importing file. It would naturally be optional and
default to false, so it won't break any compability. 

<import file="path/to/other/build.xml" useDestinationBasedir="true"/>

You are receiving this mail because:
You are the assignee for the bug.

View raw message