ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
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 13:27:48 GMT
Ah, I see.  Thanks for the explanation!

What is the best practice here?  The child build file in question can be 
run on its own or as a child of another build file.  Is there a way to 
eschew the previous classpath and use only classes loaded by the current 
build file, or is there another solution that is generally used?


At 08:25 AM 8/5/2002 +0200, you wrote:
>On Fri, 2 Aug 2002, Jacob Kjome <> 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.
>To unsubscribe, e-mail:   <>
>For additional commands, e-mail: <>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message