ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Zeus Ant task
Date Mon, 25 Nov 2002 21:48:22 GMT
<taskdef name="zeus" classname="org.enhydra.zeus.util.ZeusTask">
  <classpath>
    <pathement location="path to zeus JAR #1"/>
    <pathement location="path to zeus JAR #2"/>
    etc...
  </classpath>
</taskdef>

-----Original Message-----
From: Jason Bodnar [mailto:jason@shakabuku.org] 
Sent: Monday, November 25, 2002 3:53 PM
To: zeus@enhydra.org; ant-user@jakarta.apache.org
Subject: Zeus Ant task

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?

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message