UBC Webmail and uPortal 3.0.0
I will try to explain the steps needed to get UBC Webmail running on uPortal 3.0.0 here...
1. Add spring-core, spring-beans and spring-context in build.properties and build.xml like this:
add to bottom of build.properties:
spring-context.jar=lib/spring-context-2.5.1.jar spring-beans.jar=lib/spring-beans-2.5.1.jar spring-core.jar=lib/spring-core-2.5.1.jar
add to build.xml under the other jars:
<property name="spring-context.jar" value="(set this in build.properties\!)"/> <property name="spring-beans.jar" value="(set this in build.properties\!)"/> <property name="spring-core.jar" value="(set this in build.properties\!)"/>
add to build.xml under <path id="compile.classpath">:
<pathelement location="${spring-context.jar}"/> <pathelement location="${spring-beans.jar}"/> <pathelement location="${spring-core.jar}"/>
Download the files attached to this page and replace the ones in your UBC-tree. Only UserPreferencesDB.java is needed if you don't use CAS auth. The CAS-auth files are modified versions of A. Petros examples, if you use them you need to add cas-security-provider.jar the same way as the spring-jars above.
Feel free to contact me if you have questions on this.
To create the database tables needed for UBC:
Copy UBC_WebmailTables.xml to uportal-impl/src/main/resources/properties
then update the uportal-impl.jar (ant deploy-war will do it)
after that
run
ant db -Dusetable=-t -Dtablefile=/UBC_WebmailTables.xml -Ddroptables=-nD -Dpopulatetables=-nP