Step 1
Download and unzip uPortal_rel-2.5.2.zip. Make sure you have correctly set up the JDBC properties in build.xml, rdbm.properties, dbloader.xml and
possibly PersonDirs.xml. You may run "ant initportal" to verify the setup before proceeding to next step
Step 2
Download and unzip the http://www.ja-sig.org/downloads/uportal/uportal-2-4-2-myvt-quick-start.zip. Goto uportal-2-4-2-myvt-quick-start directory and copy the following files from uPortal_rel-2-4-2/ to corresponding 2.5.2 source directory.
webpages/frame.jsp
webpages/navigate.jsp (correct the class path to <%@ page import="org.jasig.portal.layout.alm.IALFolderDescription" %> )
source/edu/*
webpages/media/edu/*
webpages/stylesheets/edu/*
webpages/stylesheets/org/jasig/portal/channels/CGenericXSLT/RSS/rss-2.0.ssl
webpages/stylesheets/org/jasig/portal/channels/CGenericXSLT/RSS/rss-2.0.xsl
webpages/stylesheets/org/jasig/portal/channels/CContentSubscriber/html.xsl
properties/al/fragments.xml (replace "column::footer" with "column::footer-column")
properties/chanpub/cnet-news-com.xml
Step 3
Download and apply the attached patch myvt-2.5.2.diff to 2.5.2
patch -p0 < myvt-2.5.2.diff
The patch modifies the UserInstance.java and CContentSubscriber.java.
Step 4
Run "ant initportal" to build everything with My VT customization
Step 5
Add My VT structure and theme stylesheet. Put down the returned stylesheet ID (11 and 12 respectively in this case) for next step. Remember you must add structure stylesheet before theme stylesheet.
ant addstylesheet \ -DstylesheetType=-s \ -DstylesheetUri=/edu/vt/portal/layout/TabPageColumn/TabPageColumn.xsl \ -DdescriptionUri=/edu/vt/portal/layout/TabPageColumn/TabPageColumn.sdf ant addstylesheet \ -DstylesheetType=-t \ -DstylesheetUri=/edu/vt/portal/layout/TabPageColumn/InlineCustomization/InlineCustomization.xsl \ -DdescriptionUri=/edu/vt/portal/layout/TabPageColumn/InlineCustomization/InlineCustomization.sdf
Step 6
Modify UP_USER_PROFILE table to use My VT structure and theme stylesheet as documented in Fragments and Layout Management Approaches. By default, 2.5.2 is loaded with standard ALM structure and theme stylesheet ID.
UPDATE up_user_profile SET structure_ss_id=11, theme_ss_id=12 WHERE theme_ss_id=11;
Step 7
Done. Start the tomcat.