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:57:43 GMT
Taking the jar out of /usr/java/j2sdk1.4.0_01/jre/lib/ext, and put it in its
own directory (independent of JDK and Ant). Then try again the same way.

--DD

-----Original Message-----
From: Jason Bodnar [mailto:jason@shakabuku.org] 
Sent: Monday, November 25, 2002 4:05 PM
To: 'Ant Users List'
Subject: RE: Zeus Ant task

Tried:

  <taskdef name="zeus" classname="org.enhydra.zeus.util.ZeusTask">
    <classpath>
      <pathelement path="/usr/java/j2sdk1.4.0_01/jre/lib/ext/zeus.jar"/>
    </classpath>
  </taskdef>

Got the same error.

On Mon, 25 Nov 2002 15:48:22 -0600, Dominique Devienne wrote
> <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>


--
Jason Bodnar
jason@shakabuku.org
http://www.shakabuku.org


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

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