blob: c4e189bdb0346766442462dabac620b0bf678d56 [file] [log] [blame]
<!--
******************************************************************************
* Copyright (c) 2016 Oracle
* 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:
* Konstantin Komissarchik - initial implementation and ongoing maintenance
******************************************************************************
-->
<project name="corundum.macro.install-target">
<macrodef name="install-target">
<attribute name="name"/>
<sequential>
<if>
<not><isset property="target-@{name}"/></not>
<then>
<property name="target-@{name}" value="${build.dir}/target-@{name}"/>
<if>
<not><available file="${build.dir}/target-@{name}"/></not>
<then>
<install-eclipse dest="${build.dir}/target-@{name}" configuration="@{name}" extensions="${iu.build.target}"/>
</then>
</if>
</then>
</if>
</sequential>
</macrodef>
</project>