jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Cabanero <chump...@yahoo.com>
Subject Problem running JspTestCase test cases
Date Tue, 26 Nov 2002 01:59:24 GMT
Hello,

It would help if someone would update the Ant How-To
(http://jakarta.apache.org/cactus/howto_ant_cactus.html)
to specifically add some more details on how to
properly create a "start.tomcat.40" target in ant. 
What I found was missing was the classpath element
needed to also have:

<pathelement path="${java.home}/../lib/tools.jar"/>

and

<pathelement path="${java.class.path}"/>

within it in order to work.  Otherwise, if you tried
to run a JspTestCase with the JstpRedirector it would
complain java.lang.NoClassDefFoundError:
sun/tools/javac/Main.  It is in the sample-servlet
example but it would help if the documentation was in
sync on the site for people trying to build a
build.xml from scratch or modify an existing one.

Thanks,
Christian

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus  Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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


Mime
View raw message