eclipse安装red5插件,创建red5项目
eclipse安装red5插件地址为https://github.com/Red5/red5-eclipse-plugin
安装步骤:
1、在github下载zip文件夹并解压,使用eclipse打开项目。如图:
然后单击file选择export,在弹出框中搜索Deployable plug-ins and fragments,点击next,结果如图:
然后全选,Install into host.Repository,点击finish。完成驱动安装。安装完成后重启eclipse重启。
之后按照官方文档对安装结果进行验证。
打开eclipse 单击File->New->Project->Web->Dynamic Web Project,单击之后如图:
单击New Runtime,选择Infrared5->Red5 Server Runtime,这时报错出现Missing classpath entry /Applications/Red5/red-ser.jar,这时,需要你安装red5的server包,下载地址:https://github.com/Red5/red5-server/releases,我下载的版本是
1.0.10 Milestone6,
下载之后解压,之后将Runtime Directory地址找到解压的目录下,即可,
ps:如果Runtime Directory地址放到解压目录下之后,仍报错,那么查看一下相关的jar包是否有版本号,如果有的话,去掉即可。
之后点击next,之后看到报错信息,将部署的相关目录和文件指向刚刚安装好的red5-server下即可完成环境配置。如下图:
修改为:
点击finish,我们回到项目配置的界面如图,
点击modify进入项目配置。添加Red5 Application Generation。点击ok,
点击finish,完成项目的创建。