Or just use <depend> - there is no need to taskdef this if you have the
standard 1.3 install.

> -----Original Message-----
> From: Diane Holt [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 18 May 2001 8:01 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Why can't I get to the depend task?
>
>
> --- Peter  Vogel <[EMAIL PROTECTED]> wrote:
> > <project name="foo" basedir="..">
> >     <taskdef name="depend"
> > classname="org/apache/tools/ant/taskdefs/optional/depend/Depend.class">
> >         <classpath>
> >         <pathelement location="c:/ant-new/lib/optional.jar">
> >     </classpath>
> >     </taskdef>
> >
> >     ...
> >
> > </project>
> >
> > I have optional.jar in the location specified, it has Depend.class, etc,
> > but I get a ClassNotFound exception...
>
> Use:
> <taskdef name="depend"
>    classname="org.apache.tools.ant.taskdefs.optional.depend.Depend"/>
>
> Diane
>
> =====
> ([EMAIL PROTECTED])
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
>

Reply via email to