ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Re[3]: Ant 1.5 problem with copy task after using ant task with inheritAll=false to call a subproject...
Date Mon, 05 Aug 2002 06:25:20 GMT
On Fri, 2 Aug 2002, Jacob Kjome <hoju@visi.com> wrote:

> Notice the first line under the "deploy_mockups" task:
> 
> "Trying to override old definition of task copyrepl"
> 
> Why am I getting that warning?

Your parent build file defines copyrepl, so you've established a
mapping from the name copyrepl to a class- this mapping gets inherited
by your child buildfile.  Your child build file now also <taskdef>s
this task, the new class is different from the one previously loaded
(a different class loader) so Ant prints a warning.

Stefan

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


Mime
View raw message