File: build.xml

package info (click to toggle)
jinput 20100502+dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,192 kB
  • ctags: 3,159
  • sloc: java: 9,641; xml: 1,026; ansic: 922; awk: 34; makefile: 32; sh: 11
file content (51 lines) | stat: -rw-r--r-- 1,736 bytes parent folder | download | duplicates (3)
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
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="all" name="AWT Plugin">

    <target name="init">
        <mkdir dir="classes"/>
        <mkdir dir="bin"/>
    </target>

    <target depends="init" name="compile">
        <javac debug="true" deprecation="true" destdir="classes" source="1.4" target="1.4" srcdir="src">
            <classpath>
                <pathelement location="../../coreAPI/bin/jinput-core.jar"/>
                <pathelement location="../../lib/jutils.jar"/>
            </classpath>
        </javac>
    </target>

    <target depends="init,compile" name="jar">
        <jar jarfile="bin/awtinput.jar" compress="true" basedir="classes">
            <include name="**/*.class"/>
        </jar> 
    </target>

    <target depends="jar" description="Build everything." name="all">
    </target>

    <target name="javadoc" depends="init" description="Javadoc for AWT plugin for JInput.">
        <mkdir dir="apidocs"/>
        <javadoc packagenames="net.java.games.input.*" 
                 destdir="apidocs"
                 additionalparam="-source 1.4"
                 link="../../../coreAPI/apidocs">
            <sourcepath>
                <pathelement location="src"/>
            </sourcepath>
             <classpath>
                <pathelement location="../../coreAPI/bin/jinput-core.jar"/>
                <pathelement location="../../lib/jutils.jar"/>
            </classpath>
        </javadoc>
    </target>

    <target description="Clean all build products." name="clean">
        <delete failonerror="no">
			<fileset dir="classes"/>
        </delete>
        <delete dir="bin" failonerror="no"/>
        <delete dir="apidocs" failonerror="no"/>
    </target>

</project>