645
|
1 |
<#--
|
|
2 |
============================================================================
|
|
3 |
Name : ido-codescanner.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-codescanner" default="gen-codescanner-report" xmlns:hlm="http://www.nokia.com/helium">
|
|
24 |
<target name="gen-codescanner-report">
|
|
25 |
<parallel>
|
|
26 |
<#assign componentLXRPath = "">
|
|
27 |
<#assign no_of_components = data?size>
|
|
28 |
<#list data?keys as component>
|
|
29 |
<#if (no_of_components > 1)>
|
|
30 |
<#assign componentName = data[component]?split("/")?last>
|
|
31 |
<hlm:codescanner format="${ant['ido.codescanner.output.type']}"
|
|
32 |
configuration="${ant['ido.codescanner.config']}"
|
|
33 |
sourcedir="${ant['internal.codescanner.drive']}/${componentName}"
|
|
34 |
dest="${ant['ido.codescanner.output.dir']}/${componentName}"
|
|
35 |
lxrurl="${ant['codescanner.lxr.source.url']}${data[component]?substring(ant['build.drive']?length)}/"
|
|
36 |
failonerror="false"/>
|
|
37 |
<#else>
|
|
38 |
<hlm:codescanner format="${ant['ido.codescanner.output.type']}"
|
|
39 |
configuration="${ant['ido.codescanner.config']}"
|
|
40 |
sourcedir="${ant['internal.codescanner.drive']}\"
|
|
41 |
dest="${ant['ido.codescanner.output.dir']}"
|
|
42 |
lxrurl="${ant['codescanner.lxr.source.url']}${data[component]?substring(ant['build.drive']?length)}/"
|
|
43 |
failonerror="false"/>
|
|
44 |
</#if>
|
|
45 |
</#list>
|
|
46 |
</parallel>
|
|
47 |
</target>
|
|
48 |
</project>
|