-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
23 lines (20 loc) · 1.14 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
<project default="devbuild">
<!-- Simply set the name of the plugin here, e.g. "xyz" or "xyz_abc") instead of "sample" -->
<property name="name" value="hu_importer" />
<!-- Use this task to let ant copy the compiled jar files to the target folders for development -->
<target name="devbuild">
<exec executable="mvn">
<arg value="package" />
</exec>
<copy file="module-main/target/plugin_intranda_workflow_${name}.jar" todir="/opt/digiverso/goobi/plugins/workflow/" overwrite="true" />
<copy file="module-gui/target/plugin_intranda_workflow_${name}-GUI.jar" todir="/opt/digiverso/goobi/plugins/GUI/" overwrite="true" />
</target>
<!-- Use this task to let ant copy the compiled jar files to the target folders for development -->
<target name="g2gbuild">
<exec executable="mvn">
<arg value="package" />
</exec>
<copy file="module-main/target/plugin_intranda_workflow_${name}.jar" todir="/opt/digiverso/g2g/workspace/workflow/plugins/workflow/" overwrite="true" />
<copy file="module-gui/target/plugin_intranda_workflow_${name}-GUI.jar" todir="/opt/digiverso/g2g/workspace/workflow/plugins/GUI/" overwrite="true" />
</target>
</project>