jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: Cactus, Ant and Eclipse?
Date Sun, 15 Aug 2004 11:35:35 GMT


> -----Original Message-----
> From: Matthew Van Horn [mailto:matthew_van_horn@yahoo.com]
> Sent: dimanche 15 août 2004 08:24
> To: cactus-user@jakarta.apache.org
> Subject: Cactus, Ant and Eclipse?
> 
> Does anyone know how to get Cactus's ant integration working under
> eclipse 3.0?
> 
> I get the following error:
> taskdef A class needed by class
> org.apache.cactus.integration.ant.CactusTask cannot be found:
> junit/framework/TestListener build.xml
> 
> Now, I know that the junit.jar is on the classpath, because I use it in
> another part of the build.

There are several CP! It has to be in the Eclipse Ant CP. Go to
Windows|Preferences|Ant|Runtime. Under the "Classpath" tab, add it.

> 
> If I put the classes in the ANT_HOME that Eclipse uses, then I start
> down a road into classpath hell, where it seems to be looking for
> xerces, and other xml-related jars.

Cactus requires 5 jars. They are all described here:
http://jakarta.apache.org/cactus/integration/ant/index.html

> 
> Does anyone have a quick howto for this? I'm not usually stupid, but I
> just can't seem to make this work today.
> 

Thanks
-Vincent


Mime
View raw message