How to update Apache OpenMeetings website

Required tools

  • Sun JDK7
  • Apache Maven (3.2.1 or later)

Introduction

The Apache OpenMeetings HTML websites are generated from XML files. You edit the XML files, run the MAVEN command

mvn install -Dunpacked=true
that generates the HTML files and then you copy generated HTML files into appropriate place and commit to SVN both: XML and HTML files.

The website itself uses JQuery to generate the menu, the pop images and the image slider at the landing page.

Editing the website

OpenMeetings website (http://openmeetings.apache.org/) is a copy from the SVN repository.
The file in the SVN to be synced are at:
http://svn.apache.org/repos/asf/openmeetings/trunk/site/

To update the website you need to checkout trunk:
https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/
edit the files in the folder openmeetings-server/src/site
then you run the command:
mvn install -Dunpacked=true
control the output locally in the folder openmeetings-server/target/server/webapps/openmeetings/docs/
copy site contents into target folder:
cp -r openmeetings-server/target/server/webapps/openmeetings/docs/* ../site/
And then commit your changes into the SVN both the edited xml(s) and generated html files.

The public website is automatically synced with the SVN repository.
Changes to the SVN should be immediately synced to the production website.
If not you might login to people.apache.org,
cd to /www/openmeetings.apache.org/content/
and run the linux command "touch" on the files that need to be synced

Adding a new menu entry

To add a new menu entry in the left side panel you need to modify the file:
openmeetings-server/src/site/site.xml