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 Vincent Massol <vm...@octo.com> on 2002/12/15 12:36:59 UTC

RE: Problem running JspTestCase test cases

Done. Thanks. I haven't added the <pathelement
path="${java.class.path}"/> line as I don't think it is needed.

Thanks
-Vincent

> -----Original Message-----
> From: Christian Cabanero [mailto:chumpboy@yahoo.com]
> Sent: 26 November 2002 01:59
> To: cactus-user@jakarta.apache.org
> Subject: Problem running JspTestCase test cases
> 
> 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>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>