ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kendall Collett" <kcoll...@convio.com>
Subject Re: Re[3]: Ant 1.5 problem with copy task after using ant task with inheritAll=false to call a subproject...
Date Tue, 06 Aug 2002 00:10:16 GMT
Not sure if it'll help you, but the documentation of build.sysclasspath
(<http://jakarta.apache.org/ant/manual/sysclasspath.html>) might be worth a
gander.

Kendall

----- Original Message -----
From: "Jacob Kjome" <hoju@visi.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Monday, August 05, 2002 08:27
Subject: Re: Re[3]: Ant 1.5 problem with copy task after using ant task with
inheritAll=false to call a subproject...


> 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?
>
> Jake
>
> At 08:25 AM 8/5/2002 +0200, you wrote:
> >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