ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [PATCH] Definer to allow types/tasks from the same jar to work
Date Fri, 24 May 2002 09:05:01 GMT
On Thu, 23 May 2002, <costinm@covalent.net> wrote:

> Regarding 'magic' properties - the main reason is to allow 
> a single build.xml file that works with both ant1.4 and ant1.5.
> I don't think the next release of tomcat can require ant1.5
> and not work with 1.4. 

<typedef> doesn't really work in 1.4.x at all, so maybe it would be
better to move that out to a "requires Ant 1.5" build file?

> Is it possible that someone is actually using the fact that
> <taskdef> will create a different class loader for each task ?

Yes.  <anakia> used to when Velocity used some singletons to hold
state.  This is fixed now, but there will certainly be others holding
state in statics.

Stefan

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


Mime
View raw message