ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject Re: Import: auto run a target in the imported file.
Date Fri, 04 Feb 2005 02:18:14 GMT
At 08:50 PM 2/3/2005 -0500, you wrote:
 >Hi;
 >On an imported file, I would like to run a target upon getting imported.
 >Although the imported's target can be run for the file importing it, I
 >would like to have a target in the imported file run automatically upon
 >being imported. Is this possible?

In Ant 1.6+, tasks are allowed outside targets.  Just put what you want to 
run outside the enclosure of a target.

Jake

 >Thanks,
 >-nat
 >
 >---------------------------------------------------------------------
 >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
 >For additional commands, e-mail: user-help@ant.apache.org
 >
 >  


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


Mime
View raw message