资源预览内容
第1页 / 共16页
第2页 / 共16页
第3页 / 共16页
第4页 / 共16页
第5页 / 共16页
第6页 / 共16页
第7页 / 共16页
第8页 / 共16页
第9页 / 共16页
第10页 / 共16页
亲,该文档总共16页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
OpenMeetings 源码下载方法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 SoftwareTo develop OpenMeetings you need at least: Eclipse in a up to date copy and Java6 Subclipse Plugin (to download the Code from the Repository into Eclipse) MySQL (or Postgres, or other Databases supported by Hibernate) Tomcat 6 installed on your system to test and debug the code Step2 - Download the SourceAdvanced 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 Repositories5) Click on the icon with the plus in the top right corner in the SVN Repository Dialog6) Add the URL http:/openmeetings.googlecode.com/svn/trunk/singlewebapp/ and click Finish7) After download is complete you see a new Source Repository in the Repository Explorer. Right click on it and choose checkout8) 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 EclipseStep3 - Build and deploy the code in EclipseAdd 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.2) Right click on the project ROOT and goto Properties (bottom)3) In the dialog goto Build settings and remove if there is a red-marked Library and fix it like in the screen4)2) Open the Dialog View Server in Eclipse and right click inside, choose ADD New from the context menu3) 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 dir5) 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 Finish8) You will see a new Entry in the Servers 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. 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/install12) If you have already imported the files into the database you can directly goto the application: 13) Debug-Version: http:/localhost:8080/openmeetings/maindebug.lzx?lzproxied=solo&lzr=swf814) Normal-Version: http:/localhost:8080/openmeetings/main.lzx?lzproxied=solo&lzr=swf8How to create .warIt is recommended to deploy OpenMeetings in the standalone version Run the ant - dist (eventually you have to run ant signWebStartJars after that again) Export in Eclipse a .war file 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 distributionRun the command: ant -f build_red5webapp.xml dist There 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. to compile the client you can also use ant:ant -f build_red5webapp.xml dist (compiles a complete package into the folder dist)ant -f build_red5webapp.xml compile.laszlo.main (compiles the client into main.swf8.swf)ant -f build_red5webapp.xml compile.laszlo.main.debug (compiles the debug-client into maindebug.swf8.swf)to compile just the openmeetings JAR file:ant -f build_openmeetings_jar.xmlTipps and Gotchas When you run and test OpenMeetings inside Eclipse, Eclipse may be not able to do conversion using convert or pdf2swf, cause it has another system_path variables set. You should goto the Administr
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号