Deploying UBC Webmail into Academus 2.0
How do I deploy the UBC webmail channel in Academus 2.0?
This procedure assumes you already have Academus 2.0 and the UBC address book deployed at {INSTALLDIR}/unicon/Academus/portal-tomcat-a/webapps/portal.
- Checkout the source code from Ja-sig.
cvs -d :pserver:anonymous@developer.ja-sig.org:2401/home/cvs/jasig co portal_channels/UBC_Webmail - Set these properties (or as appropriate) in portal_channels/UBC_Webmail/properties/UBC_Webmail.properties
defaultAuthenticationFactory=ca.ubc.itservices.channels.webmail.CachedCredentialsAuthenticationFactory addressBookFactory=ca.ubc.itservices.channels.addressBook.AddressBookFactory FileUploadProperty=org.jasig.portal.RequestParamWrapper.file_upload_max_size - Download uPortal-2.4.2-patched.jar and copy it to portal_channels/UBC_Webmail/lib
- Set these properties (or as appropriate) in portal_channels/UBC_Webmail/build.properties, replacing {INSTALLDIR} with the actual install directory.
server.home={INSTALLDIR}/unicon/Academus/portal-tomcat-a uPortal.home=${server.home}/webapps/portal deploy.home=${server.home}/webapps/portal uPortal.jar=./lib/uPortal-2.4.2-patched.jar xalan.jar=${server.home}/common/endorsed/xalan.jar - Deploy the webmail channel
merced : unicon/merced/src/portal_channels/UBC_Webmail > ant deploy Buildfile: build.xml prepare: [mkdir] Created dir: /Volumes/Deuce/Developer/src/unicon/merced/src/portal_channels/UBC_Webmail/build [copy] Copying 49 files to /Volumes/Deuce/Developer/src/unicon/merced/src/portal_channels/UBC_Webmail/build compile: [mkdir] Created dir: /Volumes/Deuce/Developer/src/unicon/merced/src/portal_channels/UBC_Webmail/build/classes [javac] Compiling 57 source files to /Volumes/Deuce/Developer/src/unicon/merced/src/portal_channels/UBC_Webmail/build/classes [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [copy] Copying 18 files to /Volumes/Deuce/Developer/src/unicon/merced/src/portal_channels/UBC_Webmail/build/classes [mkdir] Created dir: /Volumes/Deuce/Developer/src/unicon/merced/src/portal_channels/UBC_Webmail/build/classes/properties [copy] Copying 1 file to /Volumes/Deuce/Developer/src/unicon/merced/src/portal_channels/UBC_Webmail/build/classes/properties deploy: [copy] Copying 49 files to /Users/deuce/dev/src/unicon/merced/tomcat/webapps/portal [copy] Copying 127 files to /Users/deuce/dev/src/unicon/merced/tomcat/webapps/portal/WEB-INF/classes BUILD SUCCESSFUL Total time: 2 seconds
| Attachment | Size |
|---|---|
| uPortal-2.4.2-patched.jar | 1.79 MB |
