PageRenderTime 102ms CodeModel.GetById 60ms app.highlight 2ms RepoModel.GetById 39ms app.codeStats 0ms

/rcdkjar/build.xml

http://github.com/rajarshi/cdkr
XML | 47 lines | 37 code | 9 blank | 1 comment | 0 complexity | bcda03a7c4a0d35c8a5eaec1e5bf9c1c MD5 | raw file
 1<project name="Rcdk" default="jar" basedir=".">
 2    <property file="build.properties"/>
 3
 4    <!-- compile options -->
 5    <property name="build.sysclasspath" value="ignore"/>
 6    <property name="debug" value="on"/>
 7    <property name="deprecation" value="off"/>
 8    <property name="optimization" value="off"/>
 9
10    <property name="version" value="3.0"/>
11
12    <property name="jars" value="jars"/>
13    <property name="build.dir" value="classes"/>
14    <property name="src.dir" value="src"/>
15
16    <path id="project.class.path">
17        <fileset dir="${jars}">
18            <include name="**/*.jar"/>
19        </fileset>
20    </path>
21
22    <target name="compile" id="compile">
23        <mkdir dir="${build.dir}"/>
24        <javac srcdir="${src.dir}" destdir="${build.dir}"
25               debug="${debug}" deprecation="${deprecation}"
26               optimize="${optimization}" source="1.8" verbose="no" target="1.8">
27            <classpath refid="project.class.path"/>
28            <exclude name="org/guha/rcdk/test/**"/>
29            <exclude name="org/guha/rcdk/draw/**"/>
30        </javac>
31    </target>
32
33    <target name="clean" id="clean">
34        <delete quiet="true" dir="${build.dir}"/>
35    </target>
36
37    <target name="jar" id="jar" depends="compile">
38        <jar jarfile="rcdk.jar">
39            <fileset dir="${build.dir}/"
40                     excludes="**/test/*.class"/>
41        </jar>
42        <copy file="rcdk.jar" todir="../rcdk/inst/cont/" verbose="true"/>
43        <copy file="jars/com.objectplanet.image.PngEncoder.jar" todir="../rcdk/inst/cont/" verbose="true"/>
44    </target>
45
46
47</project>