ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28403] - Floating attribute for import task
Date Thu, 15 Apr 2004 15:36:05 GMT
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=28403>.
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=28403

Floating attribute for import task





------- Additional Comments From peter.reilly@corvil.com  2004-04-15 15:36 -------
The path nested element is pretty powerful, it also
covers my use-case:
<import file="common.xml">
  <path path=".:${user.home}/.ant/importfiles:${ant.home}/importfile"/>
</import>

This could be a (standard) presetdef
<presetdef name="findimport">
  <import>
     <path>
       <pathelement path=".:..:../..:../../..:../../../.."/>
       <pathelement path="${user.home}/.ant/importfiles"/>
       <pathelement path="${ant.home}/.ant/importfiles"/>
     </path>
   </import>
<presetdef>

<findimport file="common.xml"/>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message