-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.xml
29 lines (25 loc) · 998 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
25
26
27
28
29
<?xml version="1.0" encoding="UTF-8"?>
<project name="estt" basedir="." default="deploy">
<target name="clean" description="Delete all generated files">
<exec executable="mvn">
<arg value="clean"/>
</exec>
</target>
<target name="compile" description="Compiles the Task">
<exec executable="mvn">
<arg value="install"/>
<arg value="-o"/>
</exec>
</target>
<target name="deploy" description="Deploy into server">
<exec executable="pwd">
</exec>
<exec executable="scp">
<arg value="/opt/wks/src/projets/estt/nuxeo-est-we-front/target/nuxeo-est-we-front-1.0-SNAPSHOT.jar"/>
<arg value="/opt/wks/src/projets/estt/nuxeo-est-we-picture-init/target/nuxeo-est-we-picture-init-1.0-SNAPSHOT.jar"/>
<arg value="[email protected]:/var/lib/nuxeo/server/nxserver/bundles"/>
</exec>
</target>
<target name="cb" description="Deploy into server" depends="compile">
</target>
</project>