You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Peter Vogel <pv...@arsin.com> on 2001/05/17 22:06:18 UTC
Why can't I get to the depend task?
<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...
Thanks,
-Peter
--
Peter A. Vogel
Manager+consultant, Configuration Management
Arsin Corporation, Professional Services
http://www.arsin.com
RE: Why can't I get to the depend task?
Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
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 <pv...@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/
>
Re: Why can't I get to the depend task?
Posted by Diane Holt <ho...@yahoo.com>.
--- Peter Vogel <pv...@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/