jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@octo.com>
Subject RE: Sample Servlet for Cactus
Date Sun, 04 Aug 2002 18:22:53 GMT
Hi Deepak,

> -----Original Message-----
> From: Deepak Shah [mailto:Dshah@ivega.com]
> Sent: 01 August 2002 10:38
> To: 'cactus-user@jakarta.apache.org'
> Subject: Sample Servlet for Cactus
> Hello Everybody,
> I am new to Cactus ( started today morning) and trying to
> the
> sample-cactus web application.
> So far the experience is not good, I got compilation errors in sample
> (org.apache.cactus.unit.TestAll tried to import itself), also there
> some problems in ant scripts.
> After monkeying with the ant scripts I could build  the
> but the web.xml file is almost empty. So that also needs to be done
> Did anybody else experienced the similar with sample programs?

The only thing that you need to do is :
- cd to samnples/build directory
- copy build.properties.sample to build.properties (edit it if you want
to add tests on a specific container)
- type "ant -projecthelp" to get the list of targets you can call

That's all really. If it fails during the build, it means your Ant
installation is not correct (i.e. it does not contain the mandatory jars
in anthome/lib). If you know what you're doing then simply add what's
needed. However, I would strongly recommend you download the prepackaged
Ant available in the directory from where you downloaded the cactus

Have you read http://jakarta.apache.org/cactus/howto_sample.html ?


> Regards,
> Deepak

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

View raw message