--- "Hal Hildebrand (web)" <[EMAIL PROTECTED]> wrote:
> In the example where I get the messages, it is where tasks are defined
> via the form
> 
>    <taskdef resource="test/tasks.properties" >
>         <classpath>
>             <pathelement location="test.jar"/>
>         </classpath>
>     </taskdef>

A-ha -- okay, that's what I didn't have. It only happens if the classpath
elements are new ones -- iow, if test.jar lived in ANT_HOME/lib, you
wouldn't get them, since they'd be included in the classpath that Ant runs
with. Or you can set the CLASSPATH env var to include test.jar prior to
running 'ant', since it's also included in the classpath that Ant runs
with. Are either of those options workable workarounds? I would think the
first one could be, since it seems reasonable to put a jar file of Ant
tasks into ANT_HOME/lib (and, unlike the second option, you don't have to
worry about dealing with environment stuff).

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to