forked from feliperazeek/playframework-linkedin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
47 lines (41 loc) · 1.44 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="linkedin" default="build" basedir=".">
<path id="project.classpath">
<pathelement path="/Users/felipera/Downloads/play-1.1/framework/classes"/>
<fileset dir="/Users/felipera/Downloads/play-1.1/framework/lib">
<include name="*.jar"/>
</fileset>
<fileset dir="/Users/felipera/Downloads/play-1.1/framework">
<include name="*.jar"/>
</fileset>
<!--
<fileset dir="lib">
<include name="*.jar"/>
</fileset>
-->
</path>
<target name="build" depends="compile">
<copy todir="tmp/classes">
<fileset dir="src">
<include name="**/*.properties"/>
<include name="**/*.xml"/>
<include name="**/play.plugins"/>
<include name="**/play.static"/>
</fileset>
</copy>
<jar destfile="lib/play-linkedin.jar" basedir="tmp/classes">
<manifest>
<section name="Play-module">
<attribute name="Specification-Title" value="linkedin"/>
</section>
</manifest>
</jar>
<delete dir="tmp" />
</target>
<target name="compile">
<mkdir dir="tmp/classes" />
<javac srcdir="src" destdir="tmp/classes" target="1.5" debug="true">
<classpath refid="project.classpath" />
</javac>
</target>
</project>