mango eclipse编译环境搭建

 
1、下载工程
 
2、将工程导入eclipse
 
3、mvn install =====>ma-core-public
 
4、添加参数配置
 
5、在eclipse中添加ant runtime coreHome变量
 
coreHome = ${core.project.home}
 
 
 
 
6、Right click on the Core's pom.xml and run a maven install
 
7、Right click on the Core's build.xml file and run an ant build
 
8、在debug configuration 添加以下运行参数
    -Dma.home = /path/to/ma-core-public/Core
   -Dlog4j.configuration=/path/to/ma-core-public/Core/classes/debug-log4j.xml
 
 
 
 
在mango(Core)工程目录下新建modules文件夹,将需要加载插件的压缩包放到modules包里面,即可自动加载
 
 
 
 打包:
 
mvn clean package -DskipTests -Pcore-zip
posted @ 2017-08-02 17:31  Krystal_*^*  Views(187)  Comments(0)    收藏  举报