On Tue, Jun 30, 2009 at 15:46, Sascha Ernst<sascha.er...@living-e.com> wrote:
> Hello,
>
> I have a bunch of ANT macros which are currently used by 1 project only.
> In the future they should be used by more projects.
> So I'd like to put them in a separate ANT script and load this at runtime 
> into the
> project ANT scripts.
>
> Has anyone an idea how to manage this?
>
> In the ANT manual I only found possibilities to load properties from external 
> files
> but not macros.
>
> Best regards
>

The only one solution I know of is to use XML entities and load a
system entity. I've done this in the past already...

Ant has an <import> task, but it's never cut it out for me. That was
with ant pre 1.6.5, I don't know whether the situation is any better
with more recent versions since I don't use this kind of mechanism
anymore.


-- 

Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team.com
40 avenue Raymond Poincaré
75116 Paris

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

Reply via email to