|
From: Ovidiu P. <ov...@ap...> - 2004-01-06 04:11:45
|
Applied, thanks! Sorry for the delay.
Regards,
Ovidiu
On Monday, December 15, 2003, at 07:20 AM, Anthony Robinson wrote:
> I have just set up my acceptance tests to run in an MS environment,
> but ServletContainer.java needed the
> following modifications before it would work.
>
> I know that Anteater is supposed to be in the retired state, but it
> might be nice if a new release was
> created incorporating this patch, as I cannot see how it could work on
> Windows without it.
>
> Thanks again for a great testing framework,
> Bap.
>
>
> ***
> ../anteater-0.9.16-src/src/org/apache/anteater/test/
> ServletContainer.java Sat Apr 12 15:52:08
> 2003
> --- src/org/apache/anteater/test/ServletContainer.java Mon Dec 15
> 13:59:50 2003
> ***************
> *** 151,158 ****
> {
> ContextManager contextManager = tomcat.getContextManager();
>
> ! if (!docBase.startsWith("/")) {
> ! docBase = System.getProperty("user.dir") "/" docBase;
> }
>
> System.out.println("Adding context in servlet container " path
> --- 151,161 ----
> {
> ContextManager contextManager = tomcat.getContextManager();
>
> ! File docBaseF = new File(docBase);
> ! if (!docBaseF.isAbsolute()) {
> ! docBase = System.getProperty("user.dir")
> ! System.getProperty("file.separator")
> ! docBase;
> }
>
> System.out.println("Adding context in servlet container "
> pat<windows.patch>
|