| <?xml version="1.0"?> |
| <!-- |
| Copyright 1999-2004 The Apache Software Foundation |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <!-- $Id: compile-build.xml,v 1.3 2004/03/21 18:35:15 gregor Exp $ --> |
| |
| <project name="compile"> |
| |
| <description> |
| Compilation Targets |
| </description> |
| |
| <!-- ============================================================ --> |
| <!-- The main compilation target --> |
| <!-- ============================================================ --> |
| <target name="compile" depends="prepare-src" |
| description="Compile the sources"> |
| <mkdir dir="${build.dest}"/> |
| <javac srcdir="${build.src}" |
| destdir="${build.dest}" |
| debug="${debug}" |
| optimize="${optimize}" |
| deprecation="${deprecation}" |
| target="${target.vm}" |
| nowarn="${nowarn}" |
| source="1.4"> |
| <classpath refid="classpath"/> |
| </javac> |
| </target> |
| |
| |
| |
| |
| <!-- ============================================================ --> |
| <!-- The compilation target with deprecation on --> |
| <!-- ============================================================ --> |
| <target name="deprecation" depends="prepare-src" |
| description="Compile the sources with deprecation messages"> |
| <delete dir="${build.dest}"/> |
| <mkdir dir="${build.dest}"/> |
| <javac srcdir="${build.src}" |
| destdir="${build.dest}" |
| debug="${debug}" |
| optimize="${optimize}" |
| deprecation="on" |
| target="${target.vm}" |
| nowarn="off" |
| source="1.4"> |
| <classpath refid="classpath"/> |
| </javac> |
| </target> |
| |
| <target name="clean" depends="init" description="Cleans the build directories"> |
| <delete dir="${build.dir}"/> |
| <delete dir="${build.root}/tools"/> |
| <delete dir="${build.root}/test"/> |
| </target> |
| </project> |