You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Matthew Van Horn <ma...@yahoo.com> on 2004/08/15 13:49:13 UTC
RE: [SOLVED?] Cactus, Ant and Eclipse?
On Sun, 2004-08-15 at 20:35, Vincent Massol wrote:
> > -----Original Message-----
> > From: Matthew Van Horn [mailto:matthew_van_horn@yahoo.com]
> >
> > 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
In addition to
| |- cactus.jar
| |- cactus-ant.jar
| |- commons-httpclient.jar
| |- commons-logging.jar
| |- junit.jar
| |- aspectjrt.jar
described on that page (which I had already tried), I also needed to put
xerces.jar, and xml-apis.jar on the Ant classpath as well. This is not
described in the documentation,and I am wondering why those jars were
not on my classpath already, since some of the other eclipse/ant stuff
probably uses them. It is probably an Eclipse specific thing.
At least the cactifywar task now seems to work, although the build file
editor is still giving me a warning about missing JUnit classes
(junit.framework.TestListener).
Thanks for the help, all the same.
--
Matthew Van Horn <ma...@yahoo.com>