blob: 876396f2f5ff5c9d0095d092189f3f5f7cd70d5e [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
******************************************************************************
* Copyright (c) 2008, 2010 VMware Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* VMware Inc. - initial contribution
*
******************************************************************************
-->
<project name="common-standard" >
<import file="../common/common.xml"/>
<!-- Macros -->
<macrodef name="do-compile">
<attribute name="classpath.id"/>
<attribute name="input.dir"/>
<attribute name="output.dir"/>
<attribute name="resources.dir"/>
<sequential>
<javac destdir="@{output.dir}" source="${source.version}" target="${target.version}"
debug="${compile.debug}" debugLevel="${compile.debug.level}" includeantruntime="false" >
<compilerarg line="${compiler.args}"/>
<src path="@{input.dir}"/>
<include name="**/*.java"/>
<include name="*.java"/>
<classpath refid="@{classpath.id}"/>
</javac>
<copy todir="@{output.dir}">
<fileset dir="@{input.dir}" erroronmissingdir="false">
<exclude name="**/*.java"/>
<exclude name="*.java"/>
</fileset>
</copy>
<copy todir="@{output.dir}">
<fileset dir="@{resources.dir}" erroronmissingdir="false"/>
</copy>
</sequential>
</macrodef>
</project>