Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

  1. Download the most current version using Subversion:
    svn export https://www.ja-sig.org/svn/sandbox/AnnouncementsPortlet/trunk announcements-portlet
    
  2. Make sure you have Maven2 installed and that you can run the following command from your command line:
    mvn -version
    
  3. Download and unzip the current version or checkout the current version from the JA-SIG SVN (see path above).
  4. If you're using uPortal 3 or higher, or if you know that your portal uses jQuery, skip to step 5, otherwise, you need to set the javascript.jQuery.include property in src/main/resources/configuration.properties to true. This enables the Ajax features of the Topic Management screen.
  5. If you are only testing the portlet, skip to the next step. Otherwise, edit the datasource.properties file to reflect your database settings and add your JDBC driver to the pom.xml.
  6. In the announcements-portlet directory, run
    mvn package
    
  7. Once the project is built, you'll have a file called Announcements.war in the target directory.
  8. Deploy the portlet by running
    ant deployPortletApp -DportletApp=/path/to/Announcements.war
    
    ...in the uPortal source directory on your target server.
  9. Add the two portlets to your portal:
    • uPortal 2.5.x and 2.6.x format:
      • Announcements.AnnouncementsDisplay
      • Announcements.AnnouncementsAdmin
    • uPortal 3 format:
      • Portlet Web Application Path: /Announcements
        Portlet Name: AnnouncementsDisplay
      • Portlet Web Application Path: /Announcements
        Portlet Name: AnnouncementsAdmin
  10. Restart Tomcat if you get any fussiness from the portlet.  If you have issues, ask us on the portlet-dev mailing list.
  • No labels