ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Feature Request - import task use environment variable
Date Thu, 19 Nov 2009 05:15:43 GMT
On 2009-11-18, Kantor, H Steve Jr CIV NSWC PC <harry.kantor@navy.mil> wrote:

> I would like to have the import task use an environment variable
> (ANT_IMPORT_PATH) when importing files.

Can't this already be done?

<property environment="env"/>
<import file="${env.ANT_IMPORT_PATH}"/>

> Is there any interest in this?

Right now I don't see the general use, but maybe I'm overlooking
something.  In what way would the change improve the current
implementation that would be difficult/cumbersome to do right now?

Please note that in svn's trunk <import> supports importing resource
collections and thus opens up a whole lot of new possibilities.

Stefan

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


Mime
View raw message