ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathryn Rivard" <kathryn.riv...@gmail.com>
Subject Re: taskdef not receiving the classpath properly?
Date Fri, 11 Apr 2008 16:37:46 GMT
Turns out upgrading to Ant 1.7.0 (and clearing out all the crud in Fedora 7
that makes you use the rpm version) fixed the problem -- no taskdef
classpath, no CLASSPATH environment variable necessary, it works exactly how
I want it to.

Katie


On Fri, Apr 11, 2008 at 12:09 PM, Kathryn Rivard <kathryn.rivard@gmail.com>
wrote:

>
>
> On Fri, Apr 11, 2008 at 11:59 AM, supareno <reno.rkcrew@free.fr> wrote:
>
> > my question is: if you use 'ant deploy' in a terminal, do you always
> > have the exception??
> >
>
> I always build from a terminal (and not from eclipse).  I think by
> "deploy" you mean whatever our main build target is, right?  If so, then yes
> -- unless I put ant/lib/catalina-ant.jar in the classpath of the taskdef, or
> in the CLASSPATH environment variable, I always get the exception.  That's
> what makes it so weird -- it *appears* as if catalina-ant.jar is the path,
> but to get it to work I either have to duplicate it using the environment
> variable, or give the taskdef a special classpath
>
> Katie
>
>

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