On 6/7/02 11:37 AM, "Bruce Krautbauer" <[EMAIL PROTECTED]>
wrote:

> Hello Ovidiu,
> 
> Thanks for the hint on installing Anteater.  I have done that now, but the
> Cocoon 'build test' still fails in the same way.  If I run Anteater directly
> it seems to run OK, although some of the tests fail:
> 
> D:\xml-cocoon2>build test
> Using Java from C:\jdk1.3.1_02
> Buildfile: build.xml
> 
> init:
>    [echo] --------------------------------------------------------------
>    [echo]             Apache Cocoon 2.1-dev [1999-2002]
>    [echo] --------------------------------------------------------------
>    [echo] Building with Ant version 1.4.1 compiled on October 11 2001
>    [echo] using build file D:\xml-cocoon2\build.xml
>    [echo] --------------------------------------------------------------
> 
> optional-tests:
> . . .
> anteater.tests:
> 
> BUILD FAILED
> 
> D:\xml-cocoon2\build.xml:1832: Execute failed: java.io.IOException:
> CreateProcess: anteater -f src/test/anteater/all-tests.xml -Dhost=localhost
> -Dport=8080 -Dbase=cocoon error=2
> 
> Total time: 57 seconds
> 
> D:\xml-cocoon2>anteater -f src/test/anteater/all-tests.xml -Dhost=localhost
> -Dport=8080 -Dbase=cocoon
> Buildfile: src\test\anteater\all-tests.xml
> 
> all:
> 
> runtest:
>    [echo] running test calc in dir D:\xml-cocoon2\src\test\anteater
> 
> calc:
>    [null]  FAIL: 3 passed, 1 failed [Test the 'calc' JavaScript
> implementation]
>    [null]  FAIL: 1 passed, 1 failed [Simulate going back in the browser]
>    [null]  FAIL: 0 passed, 1 failed [Simulate going back again in the browser]
> 
> 
> BUILD SUCCESSFUL
> Total time: 9 seconds
> 
> To make Anteater available to ant do I need to do anything other than add the
> Anteater bin directory to my PATH?

Actually it appears your setup works just fine. What you see are failures
reported by Anteater: for some reasons the calc.xml test fails. But this is
not your problem.

Regards,
-- 
Ovidiu Predescu <[EMAIL PROTECTED]>
http://www.geocities.com/SiliconValley/Monitor/7464/ (Apache, GNU, Emacs...)



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to