My favorites | Sign in
Logo
                
BuildSourceNew  
Building Source and develop

Nightly Builds

Nightly builds of OpenMeetings (already embed into Red5) are available at:

http://i4demo.com/openmeetings/builds/

Run, Develop, Test, Debug all in Eclipse

To develop or build OpenMeetings you download the Project as regular Web-Project. You need the Subclipse Plugin for Eclipse, a database and a Tomcat Server installed on your system to test and debug the Code.

Step1 - Get required Software

To develop OpenMeetings you need at least:

Step2 - Download the Source

Advanced Users: Check out the Code from the Repository as a Dynamic Web-Project into Eclipse.

URL: http://openmeetings.googlecode.com/svn/trunk/singlewebapp/

Add Memory settings to Run Configuration (Run > Run Configurations ...) Click on Apache Tomcat > Your Server Name Second Tab > Arguments Add: -Xms512m -Xmx1024M add the end

=> the webapp will install itself into Context Root. URL to run is: http://localhost:8080/openmeetings/maindebug.lzx?lzproxied=solo

Step-By-Step:

1) Start Eclipse

2) Change Perspective to SVN Repository Exploring:

3) Select SVN Repository Exploring and click ok.

4) A new Dialog in Eclipse opens SVN Repositories

5) Click on the icon with the plus in the top right corner in the SVN Repository Dialog

6) Add the URL http://openmeetings.googlecode.com/svn/trunk/singlewebapp/ and click Finish

7) After download is complete you see a new Source Repository in the Repository Explorer. Right click on it and choose checkout

8) In the Dialog the opens now just click next

9) In the next Dialog just click Finish, Eclipse will then download the sources

10) After the download is complete you will see a new Project in the Package Explorer Dialog of Eclipse

Step3 - Build and deploy the code in Eclipse

Add Tomcat Server in Eclipse and deploy OpenMeetings webapp into it

1) Make sure that you have the right default JVM Library (Java 6 is required) in the classpath.

Right click on the project ROOT and goto > Properties (bottom)

In the dialog goto Build settings and remove if there is a red-marked Library and fix it like in the screen

2) Open the Dialog View Server in Eclipse and right click inside, choose ADD > New from the context menu

3) In the upcoming Dialog choose Tomcat 6 as server

4) Click on the button next to Choose Tomcat Install Directory and point to your local Tomcat Installation dir

5) Make sure that the Tomcat server does use Java6 as Runtime environment

6) Add OpenMeetings webapp which is called ROOT (select the webapp and click ADD)

7) Click Finish

8) You will see a new Entry in the Server's Dialog of Eclipse including your webapp, right click on it and choose Publish

9) Goto the Package Explorer, WebContent/conf/hibernate.cfg.xml and enter the correct values for user/auth/database

10) Right click on the Server and start

11) Choose Run > Run Configurations ... from the Eclipse Main Menu and navigate in the Dialog to your new Tomcat Installation like in the Screen. Then goto the Tab Arguments and increase the allowed memory by adding -Xms512m -Xmx1024M at the end of the arguments. Hit Apply and (re)start tomcat.

12) You can then navigate to the URL in the browser:

The first thing you probably should do is installing / importing the default values so you run the Installer:

http://localhost:8080/install

How to create .war

It is recommended to deploy OpenMeetings in the standalone version

Note: The Project is called ROOT. You can only have ONE Root project by Application Server. We need to to that as its required for supporting RTMPT in RED5. So the OpenMeetings will automatically become your Context Root in Tomcat (or whatever Java Application Server)

How to build a distribution

Run the command: ant -f build_red5webapp.xml dist

Tthere is no need to compile the client additionally! the ant task does it all! You will find a directory dist that contains OpenMeetings and a red5-server.

Links

Tipps and Gotchas

Hosted by Google Code