| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- This Source Code Form is subject to the terms of the Mozilla Public | |
| - License, v. 2.0. If a copy of the MPL was not distributed with this | |
| - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> | |
| <project name="src" default="compile" basedir=".."> | |
| <property file="build.properties"/> | |
| <target name="compile"> | |
| <javac srcdir="deprecatedsrc" | |
| destdir="${classes}" | |
| includes="org/mozilla/javascript/*.java" | |
| deprecation="on" | |
| debug="${debug}" | |
| includeAntRuntime="false" | |
| target="${target-jvm}" | |
| source="${source-level}" | |
| > | |
| </javac> | |
| </target> | |
| <target name="copy-source"> | |
| <mkdir dir="${dist.dir}/deprecatedsrc"/> | |
| <copy todir="${dist.dir}/deprecatedsrc"> | |
| <fileset dir="deprecatedsrc" | |
| includes="**/*.java,**/*.properties,**/*.xml,manifest"/> | |
| </copy> | |
| </target> | |
| </project> |