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:[EMAIL PROTECTED]] > Sent: 26 November 2002 01:59 > To: [EMAIL PROTECTED] > 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- > [EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:cactus-user- > [EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
