At 04:00 PM 02/11/01, you wrote:
>----- Original Message -----
>From: "Jim Cheesman" <[EMAIL PROTECTED]>
> > >* Some tests are non-Cactus JUnit tests. Some are Cactus. I'm
>separating
> > >them by directory structure. There needs to be a distinction in the Ant
> > >targets on which tests get run and such.
> >
> >
> > How/why do you want to distinguish between them?
>
>Because regular JUnit tests don't require an app. server installed. I want
>the flexibility to build and run just the plain ol' JUnit tests or step up
>to the Cactus ones separately. This piece is no big deal Ant-wise.
Fair enough ;) Try using "if" in the ant task, and passing in a value from
the command line:
<target name="full">
<antcall target="normalTests" />
<antcall target="cactusTests" />
</target>
<target name="cactusTests" if="withCactus">
...
> > >* web.xml allow conditional inclusion of the redirector configuration
> >
> > Think about setting up (i.e. building then copying a war) a test
> > application. Then delete it.
>
>I don't quite understand what you mean. I want a production-quality web.xml
>that does not have the Cactus redirectors in there, and the capability to
>turn them on when building the test deployment.
I don't know if that's really possible - I think you'll have to build two
webapps - one for testing and the other as production. We're far enough
away from deadline here that adding the redirectors to web.xml is no great
deal.
--
* Jim Cheesman *
Trabajo:
[EMAIL PROTECTED] - (34)(91) 724 9200 x 2360
In retrospect it becomes clear
that hindsight is definitely overrated
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>