ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject RE: Why can't I get to the depend task?
Date Fri, 18 May 2001 01:03:11 GMT
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:holtdl@yahoo.com]
> Sent: Friday, 18 May 2001 8:01 AM
> To: ant-user@jakarta.apache.org
> Subject: Re: Why can't I get to the depend task?
>
>
> --- Peter  Vogel <pvogel@arsin.com> 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
>
> =====
> (holtdl@yahoo.com)
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
>


Mime
View raw message