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?

Thanks,
Bruce

>>> [EMAIL PROTECTED] 06/07/02 12:55PM >>>
On 6/6/02 6:49 AM, "Bruce Krautbauer" <[EMAIL PROTECTED]>
wrote:

> I know the CVS HEAD can sometimes be unstable, but for the last week or so my
> 'build test' has been failing during the anteater tests with the following
> error:
> 
> anteater.tests:
> 
> BUILD FAILED
> 
> D:\xml-cocoon2\build.xml:1805: Execute failed: java.io.IOException:
> CreateProcess: anteater -f src/test/anteater/all-tests.xml -Dhost=localhost
> -Dport=8080 -Dbase=cocoon error=2
> 
> Is this a known problem or do I have something wrong with my environment?
> 
> I'm running with JDK 1.3.1_02 on Win2K.
> 
> Thanks,
> Bruce

You need to install Anteater on your for the tests to work. You can get
Anteater from:

http://sf.net/projects/aft/ 

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]>



---------------------------------------------------------------------
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