|
1 <#-- |
|
2 ============================================================================ |
|
3 Name : ido-confml-validate.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 <#assign table_info = pp.loadData('com.nokia.helium.metadata.ORMFMPPLoader', |
|
23 "${dbPath}") > |
|
24 <?xml version="1.0"?> |
|
25 <project name="validate-confml" default="validate-confml-file"> |
|
26 |
|
27 <target name="validate-confml-file"> |
|
28 <#if os?lower_case?starts_with('win')> |
|
29 <#assign exe_file="cmd.exe"/> |
|
30 <#else> |
|
31 <#assign exe_file="bash"/> |
|
32 </#if> |
|
33 <sequential> |
|
34 <exec executable="${exe_file}" dir="${ant['build.drive']}/epoc32/tools" failonerror="false" output="${ant['post.log.dir']}/${ant['build.id']}_validate_confml.log"> |
|
35 <#if os?lower_case?starts_with('win')> |
|
36 <arg value="/c"/> |
|
37 <arg value="cone.cmd"/> |
|
38 <#else> |
|
39 <arg value="cone"/> |
|
40 </#if> |
|
41 <arg value="validate" /> |
|
42 <#list table_info['native:java.lang.String']['select distinct w.member FROM WhatLogEntry w where w.member like \'%.confml\''] as confmlfile> |
|
43 <arg value="--confml-file"/> |
|
44 <arg value="${confmlfile}" /> |
|
45 </#list> |
|
46 <#list table_info['native:java.lang.String']['select distinct w.member FROM WhatLogEntry w where w.member like \'%.crml\''] as crmlfile> |
|
47 <arg value="--implml-file"/> |
|
48 <arg value="${crmlfile}" /> |
|
49 </#list> |
|
50 <arg value="--report-type"/> |
|
51 <arg value="xml" /> |
|
52 <arg value="--report"/> |
|
53 <arg value="${ant['post.log.dir']}/${ant['build.id']}_validate_confml.xml" /> |
|
54 </exec> |
|
55 </sequential> |
|
56 </target> |
|
57 |
|
58 </project> |
|
59 |
|
60 |