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 <[EMAIL PROTECTED]> wrote: > > > On Fri, Apr 11, 2008 at 11:59 AM, supareno <[EMAIL PROTECTED]> 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 > >
