Zeus Ant task

"Jason Bodnar" <[email protected]> Mon, 25 Nov 2002 15:52:58 -0600
Newsgroups gmane.comp.java.enhydra.zeus,gmane.comp.jakarta.ant.user
Message-ID <[email protected]>
I'm trying to use the Ant task for Zeus that's mentioned in the User Guide.
I've added the following to my build.xml file:

<taskdef name="zeus" classname="org.enhydra.zeus.util.ZeusTask"/>

<target name="zeus" depends="init" description="make zeus classes">
  <zeus destDir="${src}" defaultJavaPackage="com.broadq.qcaststation.config">
    <constraint type="DTD" constraintFile="config.dtd" 
                collapseSimpleElements="true"/>
  </zeus>
</target>

When I run ant I get:

BUILD FAILED
file:/home/jbodnar/projects/broadq/pcmiddle/java/build.xml:11: taskdef class
org.enhydra.zeus.util.ZeusTask cannot be found

The class is part of a jar file in /usr/java/j2sdk1.4.0_01/jre/lib/ext.

What do I need to do for ant to find this class and define the task?

--
Jason Bodnar
[email protected]
http://www.shakabuku.org