forked from oracle/opengrok
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
44 lines (37 loc) · 1.05 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="EGrok" default="build">
<loadproperties srcfile="build.properties" />
<loadproperties srcfile="userbuild.properties">
</loadproperties>
<target name="clean">
<delete dir="./build" />
</target>
<target name="build" depends="clean">
<mkdir dir="./build" />
<javac srcdir="src" destdir="./build">
<classpath>
<fileset dir="${eclipse.home}/plugins">
<include name="*.jar" />
</fileset>
<fileset dir="./lib">
<include name="*.jar" />
</fileset>
</classpath>
</javac>
<copy file="plugin.xml" tofile="./build/plugin.xml" />
<copy todir="./build/META-INF">
<fileset dir="./META-INF">
<include name="*" />
</fileset>
</copy>
<copy todir="./build/lib">
<fileset dir="./lib">
<include name="*" />
</fileset>
</copy>
<tstamp>
<format property="timestamp" pattern="yyyyMMddkkmm" />
</tstamp>
<zip basedir="./build" file="./build/org.opensolaris.opengrok.egrok_${build.version}.v${timestamp}.jar" />
</target>
</project>