环境 Centos6.3
首先从svn中获取源码,以6.3版本为例
svn co http://developer.longtailvideo.com/svn/tags/mediaplayer-6.3
按照README中的说明,安装 Flex SDK和Ant
* Flex SDK 4.1: http://sourceforge.net/adobe/flexsdk/wiki/Downloads/
* Ant 1.7.0: http://ant.apache.org/bindownload.cgi
两个都只需要解压即可
配置Ant环境
export ANT_HOME=/opt/ant/apache-ant-1.9.0
export PATH=$ANT_HOME/bin:$PATH
修改 mediaplayer-6.3/build/build.properties
flexsdk = /path/to/flex
然后就可以到mediaplayer-6.3/build/目录下执行ant了,编译完成的代码在mediaplayer-6.3/bin-release/下面