gecko-dev/js/rhino/toolsrc/build.xml
igor%mir2.org 0659e0b714 Committing E4X parser and runtime proxies: see enhancement report 242805.
This is based on code contributed to Rhino by AgileDelta, Inc, www.agiledelta.com and in particular by

Ethan Hugg
Terry Lucas
Milen Nankov
John Schneider

Thanks!
2004-07-28 21:11:02 +00:00

46 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Build file for Rhino using Ant (see http://jakarta.apache.org/ant/index.html)
Requires Ant version 1.2
-->
<project name="toolsrc" default="compile" basedir="..">
<target name="properties">
<property file="build.properties"/>
<property name="debugger"
value="org/mozilla/javascript/tools/debugger"/>
</target>
<target name="compile" depends="properties">
<ant dir="toolsrc/${debugger}" target="download"/>
<javac srcdir="toolsrc"
destdir="${classes}"
includes="org/**/*.java"
deprecation="on"
debug="${debug}"
target="${target-jvm}">
</javac>
<copy todir="${classes}">
<fileset dir="toolsrc" includes="org/**/*.properties" />
</copy>
</target>
<target name="copy-source" depends="properties">
<mkdir dir="${dist.dir}/toolsrc"/>
<copy todir="${dist.dir}/toolsrc">
<fileset dir="toolsrc"
includes="**/*.java,**/*.properties,**/*.xml"
excludes="${debugger}/downloaded/**" />
</copy>
</target>
<target name="clean" depends="properties">
<delete includeEmptyDirs="true">
<fileset dir="${classes}"
includes="org/mozilla/javascript/tools/**"/>
</delete>
</target>
</project>