ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: Why can't I get to the depend task?
Date Thu, 17 May 2001 22:00:48 GMT
--- 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