forked from thinkgem/jeesite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
29 lines (24 loc) · 1.08 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xml>
<project name="jeesite" default="welcome">
<!-- properties from files -->
<!-- properties from key value -->
<property name="workflow.diagrams" value="src/main/resources/diagrams" />
<property name="workflow.deployments" value="src/main/resources/deployments" />
<!-- 流程定义:每个模块的路径 -->
<property name="wd.leave" value="${workflow.diagrams}/leave" />
<!-- 显示欢迎信息以及操作提示 -->
<target name="welcome">
<echo>jeesite,请输入命令后操作!</echo>
</target>
<!-- 请假流程定义打包-自定义表单 -->
<target name="workflow.package.leave">
<echo>打包流程定义:请假(自定义表单)</echo>
<copy file="${wd.leave}/leave.bpmn" tofile="${wd.leave}/leave.bpmn20.xml" />
<zip destfile="${workflow.deployments}/leave.bar" basedir="${wd.leave}" update="true" includes="*.xml,*.png" />
<delete file="${wd.leave}/leave.bpmn20.xml" />
</target>
<!-- 流程定义打包 -->
<target name="workflow.package.all" depends="workflow.package.leave">
</target>
</project>