forked from loklak/loklak_server
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.xml
126 lines (118 loc) · 5.87 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="build" name="loklak">
<property environment="env"/>
<property name="target" value="1.7"/>
<property name="source" value="1.7"/>
<path id="loklak.classpath">
<pathelement location="classes"/>
<pathelement location="lib/antlr-runtime-3.5.jar"/>
<pathelement location="lib/apache-log4j-extras-1.2.17.jar"/>
<pathelement location="lib/asm-4.1.jar"/>
<pathelement location="lib/asm-commons-4.1.jar"/>
<pathelement location="lib/commons-cli-1.3.1.jar"/>
<pathelement location="lib/commons-logging-1.2.jar"/>
<pathelement location="lib/compiler-0.8.13.jar"/>
<pathelement location="lib/compress-lzf-1.0.2.jar"/>
<pathelement location="lib/elasticsearch-2.1.1.jar"/>
<pathelement location="lib/groovy-all-2.4.4.jar"/>
<pathelement location="lib/guava-18.0.jar"/>
<pathelement location="lib/hamcrest-core-1.3.jar"/>
<pathelement location="lib/HdrHistogram-2.1.6.jar"/>
<pathelement location="lib/hppc-0.7.1.jar"/>
<pathelement location="lib/httpclient-4.5.1.jar"/>
<pathelement location="lib/httpcore-4.4.3.jar"/>
<pathelement location="lib/httpmime-4.5.1.jar"/>
<pathelement location="lib/jackson-core-2.6.2.jar"/>
<pathelement location="lib/jackson-dataformat-cbor-2.6.2.jar"/>
<pathelement location="lib/jackson-dataformat-smile-2.6.2.jar"/>
<pathelement location="lib/jackson-dataformat-yaml-2.6.2.jar"/>
<pathelement location="lib/javax.servlet-api-3.1.0.jar"/>
<pathelement location="lib/jetty-http-9.2.6.v20141205.jar"/>
<pathelement location="lib/jetty-io-9.2.6.v20141205.jar"/>
<pathelement location="lib/jetty-rewrite-9.2.6.v20141205.jar"/>
<pathelement location="lib/jetty-security-9.2.6.v20141205.jar"/>
<pathelement location="lib/jetty-server-9.2.6.v20141205.jar"/>
<pathelement location="lib/jetty-servlet-9.2.6.v20141205.jar"/>
<pathelement location="lib/jetty-servlets-9.2.6.v20141205.jar"/>
<pathelement location="lib/jetty-util-9.2.6.v20141205.jar"/>
<pathelement location="lib/jetty-webapp-9.2.6.v20141205.jar"/>
<pathelement location="lib/jna-4.1.0.jar"/>
<pathelement location="lib/joda-convert-1.2.jar"/>
<pathelement location="lib/joda-time-2.8.2.jar"/>
<pathelement location="lib/json-schema-validator-2.2.6-lib.jar"/>
<pathelement location="lib/jsr166e-1.1.0.jar"/>
<pathelement location="lib/jts-1.13.jar"/>
<pathelement location="lib/junit-4.12.jar"/>
<pathelement location="lib/log4j-1.2.17.jar"/>
<pathelement location="lib/lucene-analyzers-common-5.3.1.jar"/>
<pathelement location="lib/lucene-backward-codecs-5.3.1.jar"/>
<pathelement location="lib/lucene-core-5.3.1.jar"/>
<pathelement location="lib/lucene-expressions-5.3.1.jar"/>
<pathelement location="lib/lucene-grouping-5.3.1.jar"/>
<pathelement location="lib/lucene-highlighter-5.3.1.jar"/>
<pathelement location="lib/lucene-join-5.3.1.jar"/>
<pathelement location="lib/lucene-memory-5.3.1.jar"/>
<pathelement location="lib/lucene-misc-5.3.1.jar"/>
<pathelement location="lib/lucene-queries-5.3.1.jar"/>
<pathelement location="lib/lucene-queryparser-5.3.1.jar"/>
<pathelement location="lib/lucene-sandbox-5.3.1.jar"/>
<pathelement location="lib/lucene-spatial-5.3.1.jar"/>
<pathelement location="lib/lucene-spatial3d-5.3.1.jar"/>
<pathelement location="lib/lucene-suggest-5.3.1.jar"/>
<pathelement location="lib/netty-3.10.5.Final.jar"/>
<pathelement location="lib/snakeyaml-1.15.jar"/>
<pathelement location="lib/spatial4j-0.5.jar"/>
<pathelement location="lib/t-digest-3.0.jar"/>
<pathelement location="lib/twitter4j-core-4.0.2.jar"/>
<pathelement location="lib/twitter4j-stream-4.0.2.jar"/>
</path>
<target name="init">
<copy includeemptydirs="false" todir="classes">
<fileset dir="src">
<exclude name="**/*.launch"/>
<exclude name="**/*.java"/>
</fileset>
</copy>
</target>
<target name="clean">
<delete dir="classes"/>
<delete dir="html/javadoc"/>
</target>
<target depends="init" name="build">
<delete dir="classes"/>
<mkdir dir="classes"/>
<echo message="${ant.project.name}: ${ant.file}"/>
<javac debug="true" destdir="classes" includeantruntime="false" source="${source}" target="${target}">
<src path="src"/>
<classpath refid="loklak.classpath"/>
</javac>
</target>
<target name="javadoc" depends="init" description="make javadoc">
<delete dir="html/javadoc"/>
<javadoc destdir="html/javadoc" windowtitle="loklak javadoc" encoding="UTF-8" charset="UTF-8" access="private">
<classpath refid="loklak.classpath"/>
<fileset dir="src">
<include name="**/*.java"/>
</fileset>
</javadoc>
</target>
<target depends="build,javadoc" name="all"/>
<target name="start">
<java classname="org.loklak.Main" failonerror="true" fork="yes">
<jvmarg line="-ea"/>
<classpath refid="loklak.classpath"/>
</java>
</target>
<target name="jar" depends="build">
<mkdir dir="dist"/>
<manifestclasspath property="jar.classpath" jarfile="dist/loklak.jar">
<classpath refid="loklak.classpath" />
</manifestclasspath>
<jar destfile="dist/loklak.jar" basedir="classes/">
<manifest>
<attribute name="Class-Path" value="${jar.classpath}" />
<attribute name="Main-Class" value="org.loklak.LoklakServer" />
</manifest>
</jar>
</target>
</project>