blob: f2ceba5e080d83416b10c1151bf58abb9fab127a [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.property-from-set">
<macrodef name="property-from-set">
<attribute name="property"/>
<element name="set" implicit="true"/>
<sequential>
<pathconvert property="@{property}">
<first count="1">
<sort>
<set/>
<reverse xmlns="antlib:org.apache.tools.ant.types.resources.comparators">
<name/>
</reverse>
</sort>
</first>
</pathconvert>
</sequential>
</macrodef>
</project>