forked from griddb/griddb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
121 lines (96 loc) · 3.35 KB
/
Copy pathbuild.xml
File metadata and controls
121 lines (96 loc) · 3.35 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<project default="all" basedir=".">
<property name="baseName" value="java_client" />
<property name="binDir" value="obj" />
<property name="srcDir" value="src" />
<property name="contribSrcDir" value="src_contrib" />
<property name="stubSrcDir" value="src_stub" />
<property name="confSrcDir" value="src_conf" />
<property name="jarDir" value="../bin" />
<property name="jarFile" value="gridstore.jar" />
<property name="confJarFile" value="gridstore-conf.jar" />
<property name="jarFileCompatible" value="gs.jar" />
<property name="srcEncoding" value="UTF-8" />
<property name="includeDebugInfo" value="yes" />
<path id="buildClasspath">
<fileset dir="../3rd_party/slf4j">
<include name="slf4j-api-*.jar" />
</fileset>
</path>
<target name="checkBaseDirs">
<pathconvert property="binNoEmpty" setonempty="false" pathsep=" ">
<path>
<fileset dir=".." includes="bin/*" />
<fileset dir=".." includes="bin/**" />
</path>
</pathconvert>
</target>
<target name="cleanBinBase" depends="checkBaseDirs" unless="binNoEmpty">
<delete dir="../bin" />
</target>
<target name="cleanBaseDirs"
depends="cleanBinBase">
</target>
<target name="cleanObjSub">
<delete dir="${binDir}" />
</target>
<target name="cleanObj" depends="cleanObjSub,cleanBaseDirs">
</target>
<target name="cleanSub" depends="cleanObjSub" >
<delete file="${jarDir}/${jarFile}" failonerror="no" />
<delete file="${jarDir}/${jarFileCompatible}" failonerror="no" />
</target>
<target name="clean" depends="cleanSub,cleanBaseDirs">
</target>
<target name="compile">
<mkdir dir="${binDir}"/>
<javac srcdir="${srcDir}" destdir="${binDir}"
encoding="${srcEncoding}" debug="${includeDebugInfo}"
includeantruntime="no" source="1.6" target="1.6"
classpathref="buildClasspath">
<src path="${srcDir}"/>
<src path="${contribSrcDir}"/>
</javac>
</target>
<target name="stubCompile" depends="compile">
<mkdir dir="${binDir}"/>
<javac srcdir="${stubSrcDir}" destdir="${binDir}"
encoding="${srcEncoding}" debug="yes" includeantruntime="no"
source="1.6" target="1.6" classpath="${binDir}">
</javac>
</target>
<target name="confCompile" depends="compile">
<mkdir dir="${binDir}"/>
<javac srcdir="${confSrcDir}" destdir="${binDir}"
encoding="${srcEncoding}" debug="yes" includeantruntime="no"
source="1.6" target="1.6" classpath="${binDir}">
</javac>
</target>
<target name="jar" depends="compile">
<mkdir dir="${jarDir}"/>
<jar destfile="${jarDir}/${jarFile}">
<zipfileset dir="${binDir}" />
<zipfileset dir="${srcDir}" includes="**/*.properties" />
</jar>
</target>
<target name="stubJar" depends="stubCompile">
<jar destfile="${jarFile}">
<zipfileset dir="${binDir}" />
<zipfileset dir="${stubSrcDir}" includes="META-INF/**/*" />
</jar>
</target>
<target name="confJar" depends="confCompile">
<mkdir dir="${jarDir}"/>
<jar destfile="${jarDir}/${confJarFile}">
<zipfileset dir="${binDir}" includes="com/toshiba/mwcloud/gs/config/*.class" />
<zipfileset dir="${confSrcDir}" includes="META-INF/**/*" />
</jar>
</target>
<target name="jarPartial" depends="compile">
<jar destfile="${jarDir}/${jarFile}">
<zipfileset dir="${binDir}" includes="com/toshiba/mwcloud/gs/*.class" />
</jar>
</target>
<target name="all" depends="jar,confJar">
</target>
</project>