7 changed files with 23 additions and 22 deletions
@ -1,2 +1,16 @@ |
|||||||
### 插件调试环境搭建 |
### 插件调试环境搭建 |
||||||
1. |
1. clone仓库到BI仓库同级目录,编辑nuclear-maven的pom.xml,引用插件目录 |
||||||
|
 |
||||||
|
|
||||||
|
2. 在工程目录的WEB-INF的plugins文件夹下新建如图文件夹,将工程中的plugin.xml复制过去(或者直接安装根目录中打包好的zip插件,会自动建这样的文件夹) |
||||||
|
 |
||||||
|
|
||||||
|
3. 修改插件pom中的output,改成工程中插件文件夹的classes即可。 |
||||||
|
 |
||||||
|
4. 正常build,起工程,断点调试 |
||||||
|
### 打包插件 |
||||||
|
1. 修改build.xml的jdk.home和classes |
||||||
|
 |
||||||
|
2. idea的ant直接添加工程中的build.xml即可 |
||||||
|
 |
||||||
|
3. build后会生成classes,然后直接打包即可 |
Binary file not shown.
Loading…
Reference in new issue