equal
deleted
inserted
replaced
|
1 <#-- |
|
2 ============================================================================ |
|
3 Name : ido-cmt-ant.xml.ftl |
|
4 Part of : Helium |
|
5 |
|
6 Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
7 All rights reserved. |
|
8 This component and the accompanying materials are made available |
|
9 under the terms of the License "Eclipse Public License v1.0" |
|
10 which accompanies this distribution, and is available |
|
11 at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
12 |
|
13 Initial Contributors: |
|
14 Nokia Corporation - initial contribution. |
|
15 |
|
16 Contributors: |
|
17 |
|
18 Description: |
|
19 |
|
20 ============================================================================ |
|
21 --> |
|
22 <?xml version="1.0"?> |
|
23 <project name="ido-cmt-ant" default="all" xmlns:hlm="http://www.nokia.com/helium"> |
|
24 <import file="${ant['helium.dir']}/helium.ant.xml"/> |
|
25 <#assign targetlist=""/> |
|
26 <#assign cmtid=1/> |
|
27 <#list data?keys as component> |
|
28 <#if (cmtid > 1)> |
|
29 <#assign targetlist="${targetlist}" + ","/> |
|
30 </#if> |
|
31 <basename property="componentbase${cmtid}" file="${data[component]}"/> |
|
32 <target name="cmt-${cmtid}"> |
|
33 <hlm:cmt output="${ant['build.log.dir']}/${ant['build.id']}_cmt/${ant['build.id']}_${r'$'}{componentbase${cmtid}}_${cmtid}.txt" failonerror="${ant['failonerror']}" |
|
34 htmlOutputDir="${ant['ido.cmt.html.output.dir']}"> |
|
35 <fileset id="input" dir="${data[component]}"> |
|
36 <include name="**/*.h"/> |
|
37 <include name="**/*.cpp"/> |
|
38 </fileset> |
|
39 </hlm:cmt> |
|
40 </target> |
|
41 |
|
42 <#assign targetlist="${targetlist}" + "cmt-${cmtid}"/> |
|
43 <#assign cmtid=cmtid+1/> |
|
44 </#list> |
|
45 <target name="all" depends="${targetlist}" /> |
|
46 </project> |