File: build.xml

package info (click to toggle)
libquartz-java 1%3A1.7.3-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,100 kB
  • sloc: java: 26,892; xml: 981; sh: 119; makefile: 7
file content (60 lines) | stat: -rw-r--r-- 1,613 bytes parent folder | download | duplicates (7)
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
53
54
55
56
57
58
59
60
<project name="quartz-examples" default="jar" basedir=".">

	<!-- overridden properties (must be before the import!) -->

	<property file="build.properties"/>
	<property file="../build.properties"/>
	
    <property name="docs.packages" value="org.quartz.*"/>
    <property name="skip.tests" value="true"/>

    <property name="common.build" value="../osbuild.xml"/>
    <import file="${common.build}"/>

	<!-- overridden paths (must be *after* the import!) -->

	<path id="cp">
	    <fileset dir="../lib">
	        <include name="**/*.jar"/>
	        <include name="**/*.zip"/>
	    </fileset>
	    <fileset dir="../build">
	        <include name="**/*.jar"/>
	        <include name="**/*.zip"/>
	    </fileset>
    </path>

    <import file="../checkstyle.ant"/>
   
	<!-- overridden tasks -->

    <target name="compile" depends="checkstyle,common.compile"/>	

    <target name="dist" depends="jar, predist">
    	<copy file="${build}/${name}-${version}.jar" todir="${dist}"/>

        <copy todir="${dist}/src">
            <fileset dir="${src}"/>
        </copy>

        <copy todir="${dist}">
            <fileset dir="${basedir}">
                <include name="build.*"/>
            </fileset>
        </copy>

        <copy todir="${dist}">
            <fileset dir="${basedir}">
                <include name="bin/**"/>
                <include name="example*/**"/>
            </fileset>
        </copy>

    	<!-- give a chance for project builds to do more before the zip is made. -->
     	<antcall target="predist.zip"/>

    	<!-- no zip built for examples... -->
    	
    </target>
	
</project>