> -----Original Message-----
> From: Erez Nahir [mailto:enahir@cisco.com]
> Sent: 15 January 2004 16:36
> To: 'Cactus Users List'
> Subject: RE: Using cactus with junit tests and ant on existing and
running
> container.
>
> I don't use <cactus> because I don't have war file (or ear file) so I
> can't
> have this property in the task.
> When I start the tests, the application is already installed and it
has
> directory structure extracted, it look like:
> TOMCAT_HOME\vms\athena (which is the context root)
> Under athena I have: WEB-INF (with lib, classes, util and other
> directories). Also under athena I have more directories used by my
> application.
Oh ok. I thought you wanted to automate the whole process. Any reason
you don't want? The not-so-nice-thing with your setup/approach is that
you're going to be "polluting" your runtime application with
Cactus-specific stuff (jars in lib/, extra config in web.xml, etc).
>
> Is it possible to use <cactus> without war and without <cactifywar>
called
> before? Docs says: no.
no :-)
Simply use the <junit> task as you've done.
Now, if you would like us to help you, youneed to show us what your
problem is. You just mention in your email that you get a NCDFE. Can you
show the stack trace?
Thanks
-Vincent
> Thanks,
> Erez.
>
> > -----Original Message-----
> > From: Vincent Massol [mailto:vmassol@pivolis.com]
> > Sent: Thursday, January 15, 2004 4:59 PM
> > To: 'Cactus Users List'
> > Subject: RE: Using cactus with junit tests and ant on
> > existing and running container.
> >
> >
> >
> > > -----Original Message-----
> > > From: Erez Nahir [mailto:enahir@cisco.com]
> > > Sent: 15 January 2004 14:54
> > > To: 'Cactus Users List'
> > > Subject: RE: Using cactus with junit tests and ant on existing and
> > running
> > > container.
> > >
> > > Well, have gone again over the link and emails, added some
> > jars to the
> > > build.xml.
> > >
> > > Now I can run the tests but I'm still thinking it's not in
> > tomcat's VM
> > but
> > > on my VM (the one ant forks via the junit).
> > >
> > > In addition, some other details:
> > > 1. Not all the jars used by my application are under the project's
> > > context, some under tomcat's lib (so I added them to the build.xml
> > > file).
> > > 2. Tomcat is running as NT Service.
> > >
> > > If you can give me a hint it will be great, cause I don't
> > see were is
> > my
> > > mistake.
> >
> > Are you using the <cactus> task as mentioned in my email?
> > It's described at the link I gave you.
> >
> > [snip]
> >
> > Thanks
> > -Vincent
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
|