I downloaded both to my Solaris, the tar.gz version won't build I get errors 
like this:

INFO] Unable to find resource 'org.opensaml:opensaml:pom:1.1b' in repository 
central (http://repo1.maven.org/maven2)
[INFO] [enforcer:enforce {execution: enforce-versions}]
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (ISO646-US actually) to copy filtered 
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory 
/u/dpbw/sandboxes/sandbox67/cas-server/cas-server-3.4.2.1/cas-server-core/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 51 source files to 
/u/dpbw/sandboxes/sandbox67/cas-server/cas-server-3.4.2.1/cas-server-core/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/u/dpbw/sandboxes/sandbox67/cas-server/cas-server-3.4.2.1/cas-server-core/src/main/java/org/jasig/cas/authentication/principal/Service.java:[21,33]
 cannot find symbol
symbol: class Principal
public interface Service extends Principal {

The zip version builds just fine, except the tests fail so I just set 
test.skip=true.

Should I be concerned?


I am planning on getting CAS into our Hudson build environment but it is 
unclear to me how to get Hudson to do the build overlay. We are using an old 
version of Hudson 1.260. Has anyone used Hudson to build CAS server with the 
overlay method? I guess I should upgrade Hudson anyway.

We are planning on changing how the deployerConfigContext.xml. I didn't like 
that ldap urls, userDN, etc was hand coded in the xml since that meant editing 
and rebuilding to create dev, test and production CAS.war files. So we decided 
to use a Spring PropertyPlaceholderConfigurer and get the values from System 
properties. This way we can deploy the same CAS.war file to all environments. 
Does anyone see a downside to this?


Here is our xml:

<bean id="propertyConfigurer" 
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">

       <!--<property name="systemPropertiesModeName" 
value="SYSTEM_PROPERTIES_MODE_FALLBACK"/>-->

    </bean>

    <bean id="contextSource" 
class="org.springframework.ldap.core.support.LdapContextSource">

        <property name="pooled" value="true"/>
        <property name="urls">
            <list>
                <value>${uofu.cas.ldap.server}</value>

            </list>
        </property>
        <property name="userDn">
            <value>${uofu.ldap.userDN}</value>
            </property>
        <property name="password" value="${uouf.cas.ldap.password}"/>


Thanks,


Bryan Wooten

[email protected]
Work: 801.585.9323
Cell: 801.414.3593


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to