[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cactus-user
Subject:    Problem running JspTestCase test cases
From:       Christian Cabanero <chumpboy () yahoo ! com>
Date:       2002-11-26 1:59:24
[Download RAW message or body]

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>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic