forked from BlackLabs/play-morphia
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
52 lines (47 loc) · 1.63 KB
/
build.xml
File metadata and controls
52 lines (47 loc) · 1.63 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="morphia module" default="javadoc" basedir=".">
<path id="project.classpath">
<pathelement path="${play.path}/framework/classes"/>
<fileset dir="${play.path}/framework">
<include name="*.jar"/>
</fileset>
<fileset dir="${play.path}/framework/lib">
<include name="*.jar"/>
</fileset>
<fileset dir="./lib">
<include name="*.jar"/>
</fileset>
</path>
<target name="build">
<mkdir dir="tmp/classes" />
<javac srcdir="src" destdir="tmp/classes" target="1.6" debug="true" debuglevel="lines,vars,source">
<classpath refid="project.classpath" />
</javac>
<copy todir="tmp/classes">
<fileset dir="src">
<include name="**/*.properties"/>
<include name="**/*.xml"/>
<include name="**/play.plugins"/>
</fileset>
</copy>
<jar destfile="lib/play-morphia.jar" basedir="tmp/classes">
<manifest>
<section name="Play">
<attribute name="Specification-Title" value="Morphia module"/>
</section>
</manifest>
</jar>
<delete dir="tmp" />
</target>
<target name="javadoc" depends="build">
<javadoc packagenames="play.modules.morphia.*"
sourcepath="src"
defaultexcludes="yes"
destdir="documentation/api"
author="true"
version="true"
use="true"
windowtitle="PlayMorphia API">
</javadoc>
</target>
</project>