<#--
============================================================================
Name : ido-cmt-ant.xml.ftl
Part of : Helium
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved.
This component and the accompanying materials are made available
under the terms of the License "Eclipse Public License v1.0"
which accompanies this distribution, and is available
at the URL "http://www.eclipse.org/legal/epl-v10.html".
Initial Contributors:
Nokia Corporation - initial contribution.
Contributors:
Description:
============================================================================
-->
<?xml version="1.0"?>
<project name="ido-cmt-ant" default="all" xmlns:hlm="http://www.nokia.com/helium">
<import file="${ant['helium.dir']}/helium.ant.xml"/>
<#assign targetlist=""/>
<#assign cmtid=1/>
<#list data?keys as component>
<#if (cmtid > 1)>
<#assign targetlist="${targetlist}" + ","/>
</#if>
<basename property="componentbase${cmtid}" file="${data[component]}"/>
<target name="cmt-${cmtid}">
<hlm:cmt output="${ant['build.log.dir']}/${ant['build.id']}_cmt/${ant['build.id']}_${r'$'}{componentbase${cmtid}}_${cmtid}.txt" failonerror="${ant['failonerror']}"
htmlOutputDir="${ant['ido.cmt.html.output.dir']}">
<fileset id="input" dir="${data[component]}">
<include name="**/*.h"/>
<include name="**/*.cpp"/>
</fileset>
</hlm:cmt>
</target>
<#assign targetlist="${targetlist}" + "cmt-${cmtid}"/>
<#assign cmtid=cmtid+1/>
</#list>
<target name="all" depends="${targetlist}" />
</project>