-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhudson_build.xml
47 lines (38 loc) · 1.81 KB
/
hudson_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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<project name="sng" default="default" basedir=".">
<property name="bin_dir" location="build/WEB-INF/classes"/>
<path id="compile.class.path">
<pathelement path="compilelib/javax.servlet-api-3.1.0.jar" />
<pathelement path="/usr/share/java/gnumail-1.1.2.jar" />
<pathelement path="lib/flying-saucer-core-9.0.3-SNAPSHOT.jar" />
<pathelement path="lib/flying-saucer-pdf-9.0.3-SNAPSHOT.jar" />
<pathelement path="lib/iText-2.1.7.jar" />
<pathelement path="lib/joda-time-1.6.2.jar" />
<pathelement path="lib/joda-time-jsptags-1.0.2.jar" />
<pathelement path="lib/guava-17.0.jar" />
<pathelement path="lib/StackFrameCommon.jar" />
<pathelement path="lib/twilio-java-sdk-3.3.15-jar-with-dependencies.jar" />
<pathelement path="lib/libphonenumber-5.5.jar" />
<pathelement path="lib/vysper-core-0.8-SNAPSHOT.jar" />
<pathelement path="lib/nbxml-0.8-SNAPSHOT.jar" />
<pathelement path="lib/log4j-1.2.14.jar" />
<pathelement path="lib/xep0045-muc-0.8-SNAPSHOT.jar" />
<pathelement path="lib/xep0060-pubsub-0.8-SNAPSHOT.jar" />
<pathelement path="lib/jul-to-slf4j-1.7.7.jar" />
</path>
<target name="default" description="Compile and build WAR." >
<mkdir dir="${bin_dir}" />
<exec executable="./mkversion.sh"/>
<copy file="../StackFrameCommon/StackFrameCommon.jar" todir="lib"/>
<javac srcdir="src/java" includes="com/**" destdir="${bin_dir}" source="1.8" target="1.8" debug="true">
<classpath refid="compile.class.path" />
<compilerarg value="-Xlint:all,-serial"/>
</javac>
<war destfile="sarariman.war" webxml="web/WEB-INF/web.xml">
<classes dir="build/WEB-INF/classes" />
<fileset dir="web" />
<lib dir="lib" />
<webinf dir="web/WEB-INF" />
<metainf file="${contextPath}" />
</war>
</target>
</project>