| <!--/******************************************************************************* | |
| * This program and the accompanying materials are made available under the | |
| * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 | |
| * which accompanies this distribution. | |
| * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html | |
| * and the Eclipse Distribution License is available at | |
| * http://www.eclipse.org/org/documents/edl-v10.php. | |
| * | |
| * Ant naming conventions: | |
| * - regardless of the actual OS platform,'/' is the directory separator | |
| * (Ant will convert as appropriate). | |
| * - multi-word properties use periods '.' | |
| * - multi-word targets use hyphens '-' | |
| * - multi-word macros use underscores '_' | |
| * - multi-word macro attributes are concatinated | |
| * e.g. 'runpathref' | |
| * - multi-word tasks (taskdef) names are concatinated | |
| * e.g. 'validateconnection' | |
| * - OS environment variables are in ALLCAPS and have 'env' as a prefix | |
| * e.g. ${env.XXX}. | |
| * - Ant properties are lower case. | |
| * | |
| * Contributors: | |
| * tware - initial API and implementation | |
| #******************************************************************************/--> | |
| <project name="Eclipse Persistence Services" default="all" basedir="."> | |
| <property file="${user.home}/build.properties"/> | |
| <property file="./build.properties"/> | |
| <!-- all --> | |
| <target name="all" depends="clean, compile" description="Build util classes"/> | |
| <!-- compile --> | |
| <target name="compile" depends="" description="compile EclipseLink Util"> | |
| <mkdir dir="${eclipselink.util.rename}/${classes.dir}"/> | |
| <javac srcdir="${eclipselink.util.rename}/${src.dir}" | |
| destdir="${eclipselink.util.rename}/${classes.dir}" | |
| debug="${javac.debug}" | |
| optimize="${javac.optimize}" | |
| source="${javac.version}" | |
| target="${javac.version}" | |
| deprecation="${javac.deprecation}" | |
| failonerror="true"> | |
| </javac> | |
| </target> | |
| <!-- compile --> | |
| <target name="clean" description="Clean the build"> | |
| <delete includeEmptyDirs="true" failonerror="false"> | |
| <fileset dir="${eclipselink.util.rename}/${classes.dir}"/> | |
| </delete> | |
| </target> | |
| </project> |