ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53244] New: Add "useDestinationBasedir" to import task
Date Wed, 16 May 2012 15:50:14 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53244

          Priority: P2
            Bug ID: 53244
          Assignee: notifications@ant.apache.org
           Summary: Add "useDestinationBasedir" to import task
          Severity: normal
    Classification: Unclassified
          Reporter: tobiasbertelsen@deltek.com
          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: http://ant.apache.org/manual/Tasks/import.html

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.

Mime
View raw message