blob: ced232d9e6c940eb2a6786b1fe6484b1c84eea4a [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
* Contributors:
* Konstantin Komissarchik - initial implementation and ongoing maintenance
<project name="corundum.macro.with-target">
<macrodef name="with-target">
<attribute name="name"/>
<element name="body" implicit="yes"/>
<install-target name="@{name}"/>
<propertycopy property=".target" from="target-@{name}" override="true"/>
<var name=".target" unset="true"/>