I'm not sure that the maven build has ever been sorted out to work properly
in the 1.2.x branch and for 1.2.x and before ant is the official build
process. Its only since 1.3.x that we adopted maven and got it to work
properly. I ran the tests today and they all passed, but I will check if
this test is being run by ant.

Getting the ant build to work for 1.2.x is pretty straight forward if you
use the "download-dependencies" option - means you don't have to configure
loads of build.properties/jars. Theres a sample "build.properties" for use
with the "download-dependencies" option - called
"build.properties.sample.download".

So for example to run the "dist" target, all you need to do is

ant download-dependencies dist

Niall

----- Original Message ----- 
From: "Henri Yandell" <[EMAIL PROTECTED]>
Sent: Friday, March 10, 2006 1:10 AM


When I run the Cactus tests through Maven against Tomcat 4.1.31, I get
three failed tests in the MultipartBoundaryInputStreamTest. I'm on the
1.2.X branch.

I presume that people mostly do it with Ant, so will dig into getting
that setup, but thought I'd report the problem.

Hen

Errors follow:

    [cactus]    FAILED
    [cactus] Actual bytes don't match the desired bytes
    [cactus] junit.framework.AssertionFailedError: Actual bytes don't
match the desired bytes
    [cactus]    at
org.apache.struts.upload.MultipartBoundaryInputStreamTest.assertEquals(Multi
partBoundaryInputStreamTest.java:661)
    [cactus]    at
org.apache.struts.upload.MultipartBoundaryInputStreamTest.testProblemFile2(M
ultipartBoundaryInputStreamTest.java:528)
    [cactus]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
    [cactus]    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
    [cactus]    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
    [cactus]
    [cactus] Testcase: testProblemFile2Testcase: testProblemFile3 took 0.007
sec
    [cactus]    FAILED
    [cactus] Actual bytes don't match the desired bytes
    [cactus] junit.framework.AssertionFailedError: Actual bytes don't
match the desired bytes
    [cactus]    at
org.apache.struts.upload.MultipartBoundaryInputStreamTest.assertEquals(Multi
partBoundaryInputStreamTest.java:661)
    [cactus]    at
org.apache.struts.upload.MultipartBoundaryInputStreamTest.testProblemFile3(M
ultipartBoundaryInputStreamTest.java:591)
    [cactus]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
    [cactus]    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
    [cactus]    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
    [cactus]
    [cactus] Testcase: testProblemFile3Testcase: testMaxLengthExceeded
took 0.005 sec
    [cactus]    FAILED
    [cactus] null
    [cactus] junit.framework.AssertionFailedError
    [cactus]    at
org.apache.struts.upload.MultipartBoundaryInputStreamTest.testMaxLengthExcee
ded(MultipartBoundaryInputStreamTest.java:650)
    [cactus]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
    [cactus]    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
    [cactus]    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
    [cactus]
    [cactus] Testcase: testMaxLengthExceeded
    [cactus] [ERROR] TEST
org.apache.struts.upload.MultipartBoundaryInputStreamTest FAILED

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





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

Reply via email to