+++ /dev/null
-<?xml version="1.0"?>\r
-<!--\r
-Copyright (c) 2006, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
-are licensed and made available under the terms and conditions of the BSD License\r
-which accompanies this distribution. The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
--->\r
-<project name="MigrationTools" default="MigrationTools" basedir=".">\r
-\r
- <taskdef resource="net/sf/antcontrib/antlib.xml"/>\r
- <property environment="env"/>\r
- <property name="WORKSPACE" value="${env.WORKSPACE}"/>\r
- <path id="classpath">\r
- <fileset dir="${WORKSPACE}/Tools/Jars" includes="*.jar"/>\r
- <fileset dir="${env.XMLBEANS_HOME}/lib" includes="*.jar"/>\r
- </path>\r
- <property name="buildDir" value="build"/>\r
- <property name="installLocation" value="${WORKSPACE}/Tools/bin"/>\r
- <target name="MigrationTools" depends="install"/>\r
- <target name="source">\r
- <mkdir dir="${buildDir}"/>\r
- <javac srcdir="." destdir="${buildDir}">\r
- <classpath refid="classpath"/>\r
- <compilerarg value="-Xlint"/>\r
- </javac>\r
- </target>\r
- <target name="clean">\r
- <delete includeemptydirs="true" failonerror="false" quiet="true">\r
- <fileset dir="${WORKSPACE}/Tools/Java/Source/MigrationTools" includes="${buildDir}"/>\r
- </delete>\r
- </target>\r
- <target name="cleanall" depends="clean">\r
- <echo message="Removing Class Files and the Java Archive: MigrationTools.jar"/>\r
- <delete file="${installLocation}/MigrationTools.jar"/>\r
- <if>\r
- <available file="${installLocation}/MigrationTools.jar"/>\r
- <then>\r
- <echo message="You must manually remove the file: ${installLocation}/MigrationTools.jar"/>\r
- <echo message="Java has already loaded the file, and cannot remove it within ANT!"/>\r
- </then>\r
- </if>\r
- </target>\r
- <target name="install" depends="source">\r
- <jar destfile="${installLocation}/MigrationTools.jar"\r
- basedir="${buildDir}"\r
- includes="**"\r
- manifest="MANIFEST.MF"\r
- />\r
- </target>\r
-</project>\r