ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Bartmess <>
Subject How to make imported targets always able to use ""?
Date Fri, 18 Mar 2005 02:12:10 GMT
I want to be able to use the imports always as "", as in:

import "${basedir}/common.xml"

<target name="test">
   <ant target="common.test_import"/>

Is this possible? It looks like (from viewing debug output of my
scripts) that unless the imported target is already defined in the
importing script, the project base isn't usable.

This would immensely simplify my scripts, as they're using a LOT of
common targets (for various platforms and JVM's)...


David A. Bartmess
Software Configuration Manager / Sr. Software Developer
eDingo Enterprises
jSyncManager Development Team (
jSyncManager Email List
 But one should not forget that money can buy a bed but not sleep, 
 finery but not beauty, a house but not a home, 
 medicine but not health, luxuries but not culture, 
 sex but not love, and amusements but not happiness.

View raw message