--- 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/