-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
27 lines (27 loc) · 1.8 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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="all" name="Create Runnable Jar for Project ftl">
<!--this file was created by Eclipse Runnable JAR Export Wizard-->
<!--ANT 1.7 is required -->
<!--define folder properties-->
<property name="dir.buildfile" value="."/>
<property name="dir.workspace" value="${dir.buildfile}/.."/>
<property name="dir.jarfile" value="C:/devsbb/tmp"/>
<target name="build">
<jar destfile="${dir.jarfile}/ftl.jar" filesetmanifest="mergewithoutmain">
<manifest>
<attribute name="Main-Class" value="ch.sbb.ftl.demo.topic.TopicPublisher"/>
<attribute name="Class-Path" value="."/>
</manifest>
<fileset dir="${dir.buildfile}/bin"/>
</jar>
</target>
<target name="deploy">
<scp file="${dir.jarfile}/ftl.jar" todir="[email protected]:/tmp" keyfile="H:/.ssh/id_rcs-operator" trust="true" />
<scp file="${dir.jarfile}/ftl.jar" todir="[email protected]:/tmp" keyfile="H:/.ssh/id_rcs-operator" trust="true" />
<scp file="${dir.jarfile}/ftl.jar" todir="[email protected]:/tmp" keyfile="H:/.ssh/id_rcs-operator" trust="true" />
<scp file="${dir.jarfile}/ftl.jar" todir="[email protected]:/tmp" keyfile="H:/.ssh/id_rcs-operator" trust="true" />
<scp file="${dir.jarfile}/ftl.jar" todir="rcs@rcsmsg01:/tmp" keyfile="H:/.ssh/id_rcs-operator" trust="true" />
<scp file="${dir.jarfile}/ftl.jar" todir="docker@k54129:/tmp" keyfile="H:/.ssh/id_rcs-operator" trust="true" />
</target>
<target name="all" depends="build,deploy"/>
</project>