-
Notifications
You must be signed in to change notification settings - Fork 37
/
build.xml
42 lines (41 loc) · 1.32 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
<project basedir="." default="compile" name="site">
<path id="class.path">
<fileset dir="lib">
<include name="**/*"/>
</fileset>
</path>
<target name="compile">
<delete dir="classes"/>
<mkdir dir="classes"/>
<javac debug="true" debuglevel="lines,vars,source" destdir="classes" includeantruntime="false" includes="**/*" srcdir="sources">
<classpath refid="class.path"/>
</javac>
</target>
<target depends="compile" name="run">
<echo message="Running on Linux..."/>
<exec executable="pkill">
<arg value="-f"/>
<arg value="site.Bootstrap"/>
</exec>
<sleep seconds="1"/>
<java classname="site.Bootstrap" classpathref="class.path" fork="true" spawn="true">
<classpath>
<pathelement location="classes/"/>
</classpath>
</java>
<sleep seconds="2"/>
</target>
<target depends="compile" name="test">
<fail/>
<!--
<junit printsummary="yes" haltonfailure="yes">
<classpath refid="class.path"/>
<classpath>
<pathelement path="classes"/>
</classpath>
<formatter type="plain" usefile="false"/>
<test name="site.BootstrapTest"/>
</junit>
-->
</target>
</project>