mango eclipse编译环境搭建
Posted Krystal_*^*
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mango eclipse编译环境搭建相关的知识,希望对你有一定的参考价值。
![](https://image.cha138.com/20210526/43d5ab21448f43f182655ff88c42e6be.jpg)
1、下载工程
2、将工程导入eclipse
3、mvn install =====>ma-core-public
4、添加参数配置
![](https://image.cha138.com/20210526/9cecb9ffa60d43a2a0d77d9aea884033.jpg)
![](https://image.cha138.com/20210526/3d854f2ff58842a2894805cc6bc61e2d.jpg)
5、在eclipse中添加ant runtime coreHome变量
coreHome = ${core.project.home}
![](https://image.cha138.com/20210526/9563e1cf56a443828630bef1345f5c81.jpg)
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
![](https://image.cha138.com/20210526/6996ec2f1eaa46cd94e774784a943124.jpg)
在mango(Core)工程目录下新建modules文件夹,将需要加载插件的压缩包放到modules包里面,即可自动加载
![](https://image.cha138.com/20210526/3c1e332f09a44fc1887474ff389ee63a.jpg)
打包:
![](https://image.cha138.com/20210526/b62fed9a45d6428ab3b88ac044575a97.jpg)
mvn clean package -DskipTests -Pcore-zip
以上是关于mango eclipse编译环境搭建的主要内容,如果未能解决你的问题,请参考以下文章