Debian Codegraph @

rhino/toolsrc/build.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3 - License, v. 2.0. If a copy of the MPL was not distributed with this
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5
6
7 <!--
8 Build file for Rhino using Ant (see http://jakarta.apache.org/ant/index.html)
9 Requires Ant version 1.2
10 -->
11 <project name="toolsrc" default="compile" basedir="..">
12
13 <target name="properties">
14 <property file="build.properties"/>
15 </target>
16
17 <target name="compile" depends="properties">
18 <javac srcdir="toolsrc"
19 destdir="${classes}"
20 includes="org/**/*.java"
21 deprecation="on"
22 debug="${debug}"
23 includeAntRuntime="false"
24 encoding="UTF-8"
25 target="${target-jvm}"
26 source="${source-level}"
27 >
28 </javac>
29 <copy todir="${classes}">
30 <fileset dir="toolsrc" includes="org/**/*.properties" />
31 </copy>
32 </target>
33
34 <target name="copy-source" depends="properties">
35 <mkdir dir="${dist.dir}/toolsrc"/>
36 <copy todir="${dist.dir}/toolsrc">
37 <fileset dir="toolsrc"
38 includes="**/*.java,**/*.properties,**/*.xml" />
39 </copy>
40 </target>
41
42 <target name="clean" depends="properties">
43 <delete includeEmptyDirs="true">
44 <fileset dir="${classes}"
45 includes="org/mozilla/javascript/tools/**"/>
46 </delete>
47 </target>
48
49 </project>