645
|
1 |
<#--
|
|
2 |
============================================================================
|
|
3 |
Name : validate-policy.log.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" encoding="utf-8"?>
|
|
23 |
<log filename="${ant['validate.policy.log']}">
|
|
24 |
<build>
|
|
25 |
<task name="CSV validation">
|
|
26 |
<#list doc["./policyvalidation/error[@type='unknownstatus']"] as unknownstatus>
|
|
27 |
<message priority="error"><![CDATA[${unknownstatus.@message} (${unknownstatus.@value})]]></message>
|
|
28 |
</#list>
|
|
29 |
</task>
|
|
30 |
<task name="Issues">
|
|
31 |
<#list doc["./policyvalidation/error"] as error>
|
|
32 |
<#if error.@type=='A' || error.@type=='B' || error.@type=='C' || error.@type=='D'>
|
|
33 |
<message priority="error"><![CDATA[${error.@type} Found incorrect for ${error.@message?replace('([\\\\/][^\\\\/]+?)$', '', 'ris')}, ${error.@value}]]></message>
|
|
34 |
</#if>
|
|
35 |
</#list>
|
|
36 |
</task>
|
|
37 |
<task name="Missing">
|
|
38 |
Missing policy files in:
|
|
39 |
<#list doc["./policyvalidation/error[@type='missing']"] as missing>
|
|
40 |
<message priority="error"><![CDATA[${missing.@message}]]></message>
|
|
41 |
</#list>
|
|
42 |
</task>
|
|
43 |
<task name="Incorrect policy files">
|
|
44 |
<#list doc["./policyvalidation/error[@type='invalidencoding']"] as error>
|
|
45 |
<message priority="error"><![CDATA[${error.@message}]]></message>
|
|
46 |
</#list>
|
|
47 |
</task>
|
|
48 |
</build>
|
|
49 |
</log>
|