Hi - I had that too. Seems to be an erroneous test in the distro. I deleted the test, and now the build works fine :-)

On 17/04/2009 16:26, Jochen Kraushaar wrote:
Hi there,

I've downloaded version 3.3.1 final of the CAS server. When I try to build the 
war file with Maven, building of cas-server-core package fails due to a failed 
test:

testBadUrl(org.jasig.cas.util.HttpClientTests)

Log message is:

<testcase classname="org.jasig.cas.util.HttpClientTests" time="0.547" 
name="testBadUrl">
     <failure 
type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.assertTrue(Assert.java:20)
        at junit.framework.Assert.assertFalse(Assert.java:34)
        at junit.framework.Assert.assertFalse(Assert.java:41)
        at 
org.jasig.cas.util.HttpClientTests.testBadUrl(HttpClientTests.java:32)
     </failure>
</testcase>

I'm using Maven version 2.1.0, JDK 1.5.0 build 13 and Windows XP Professional 
Service Pack 3.

To build the package, I follow the instructions on 
http://www.ja-sig.org/wiki/display/CASUM/Building+and+Deploying

Additionally for authentication I added the cas-server-support-ldap package as 
described in the wiki mentioned above.

Is there any idea what went wrong?

Regards,
Jochen Kraushaar


--

Andy Cowling | UK Core IT
Interactive Data Managed Solutions Ltd
-------------------------------------------------------------------------------------------------------------------------------
Suite 1101, Eagle Tower | Montpellier Drive | Cheltenham GL50 1TA | UK
Tel: +44 (0)1242 6941 15 | Fax: +44 (0)1242 6941 01
[email protected]
http://www.interactivedata-ms.com <http://www.interactivedata-ms.com/>

This message (including any files transmitted with it) may contain confidential and/or proprietary information, is the property of Interactive Data Corporation and/or its subsidiaries, and is directed only to the addressee(s). If you are not the designated recipient or have reason to believe you received this message in
error, please delete this message from your system and notify the sender
immediately. An unintended recipient's disclosure, copying, distribution, or
use of this message or any attachments is prohibited and may be unlawful.
Interactive Data (Europe) Ltd Registered No. 949387 England Registered Office:
Fitzroy House 13-17 Epworth Street. London. EC2A 4DL

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to