FW: Zeus Ant task

"Christophe Ney" <[email protected]> Tue, 26 Nov 2002 06:36:17 +0100
Newsgroups gmane.comp.java.enhydra.zeus,gmane.comp.jakarta.ant.user
Message-ID <000d01c2950d$bf087070$1001a8c0@cney2>
Hi Jason,

The answer to your question may depends on your Ant version.
Putting the jar file in your ant/lib directory instead should
give you good results with Ant 1.5

Thanks,
Christophe

Christophe Ney
Hypermedia System Consulting
WEB Engineering for Virtual Communities
http://christophe.batisseurs.com
mailto:[email protected]
phone/fax +33 4 78 94 85 53
mobile +33 6 61 48 85 53

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of
Jason Bodnar
Sent: Monday, November 25, 2002 10:53 PM
To: [email protected]; [email protected]
Subject: Zeus: 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?

--
Jason Bodnar
[email protected]
http://www.shakabuku.org
_______________________________________________
Zeus mailing list
[email protected]
http://www.enhydra.org/mailman/listinfo.cgi/zeus