编译openmeeting (搭建openmeetings环境)

来源:互联网 发布:程序员转行能做什么 编辑:程序博客网 时间:2024/06/06 20:12
red5:

下载地址 http://code.google.com/p/red5/

 

openlaszlo:

下载地址 http://www.openlaszlo.org/

 

server:

svn地址 http://openmeetings.googlecode.com/svn/trunk/webapp/

build.xml 在最后一行的depends=”clean, prepare, compile, hibernate”最后加一个jar

depends="clean, prepare, compile, hibernate, jar"

在Eclipse调用ant编译,右键build.xml  Run As -> Ant Build

copy dist目录下的openmeetings 到 red5 webapps目录

修改openmeetings/conf/hibernate.cfg.xml 数据库配置项目(mysql_hibernate.cfg.xml参考模板)

创建数据库 create database openmeetings character set utf8;

启动red5

访问 http://localhost:5080/openmeetings/install

username 记得要4位以上

安装完毕之后就编译client

 

client:

svn地址 http://openmeetings.googlecode.com/svn/trunk/openmeetings_lps411/

copy openmeetings_lps411目录到 OpenLaszlo Server 4.1.1/Server/lps-4.1.1目录下面

启动openlaszlo服务器

访问 http://localhost:8080/lps-4.1.1/openmeetings_lps411/main.lzx?lzr=swf8&lzproxied=solo 编译客户端swf文件

把生成的swf文件copy到red5的openmeetings目录

copy "main.lzx.swf8.swf" "C:/Program Files/Red5/webapps/openmeetings/main.lzx.swf8.swf"

(最好查看一下webapps/openmeetings/index.jsp文件里面load swf文件名是否是main.lzx.swf8.swf)

 

最后启动red5服务器

访问 http://localhost:5080/openmeetings/

或者 http://localhost:8080/lps-4.1.1/openmeetings_lps411/main.lzx?lzr=swf8&lzproxied=solo

也可以

 

备注: 了解openlaszlo

原创粉丝点击