-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
24 lines (21 loc) · 1022 Bytes
/
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
<project default="devbuild">
<!-- Simply set the name of the plugin here, e.g. "fileUpload" or "file_upload") instead of "sample" -->
<property name="name" value="linked-process-creation" />
<!-- 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="-DskipTests=true"/>
<arg value="package"/>
</exec>
<copy file="module-base/target/plugin-workflow-${name}-base.jar" todir="/opt/digiverso/goobi/plugins/workflow/" overwrite="true"/>
<copy file="module-gui/target/plugin-workflow-${name}-gui.jar" todir="/opt/digiverso/goobi/plugins/GUI/" overwrite="true"/>
<copy file="module-api/target/plugin-workflow-${name}-api.jar" todir="/opt/digiverso/goobi/plugins/GUI/" overwrite="true"/>
<exec executable="curl">
<arg value="-X"/>
<arg value="PUT"/>
<arg value="http://localhost:8080/goobi/plugins/reload"/>
<arg value="-H"/>
<arg value="token: geheim"/>
</exec>
</target>
</project>