-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
48 lines (40 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
43
44
45
46
47
48
<project name="logo-web.clj" basedir="." default="compile">
<property environment="env" />
<property name="classes.dir" value="war/WEB-INF/classes" />
<property name="lib.dir" value="war/WEB-INF/lib" />
<property name="src.dir" value="src" />
<property name="test.dir" value="test" />
<path id="project.classpath">
<pathelement path="${classes.dir}" />
<fileset dir="${lib.dir}">
<include name="**/*.jar" />
</fileset>
</path>
<target name="clean">
<delete dir="${classes.dir}" />
</target>
<target name="init">
<mkdir dir="${classes.dir}" />
</target>
<target name="compile" depends="clean,init">
<java classname="clojure.lang.Compile" fork="true">
<classpath>
<path location="${classes.dir}"/>
<path location="${src.dir}"/>
<fileset dir="${lib.dir}">
<include name="**/*.jar" />
</fileset>
</classpath>
<sysproperty key="clojure.compile.path" value="${classes.dir}"/>
<arg value="logo.core" />
<arg value="logo.persistence" />
<arg value="logo.templates" />
<arg value="logo.translations" />
<arg value="logo.servlet" />
</java>
</target>
<target name="war" depends="compile">
<war destfile="logo.war" webxml="war/WEB-INF/web.xml" basedir="war">
</war>
</target>
</project>