buildframework/helium/sf/java/metadata/tests/antunit/test_validity.ant.xml
changeset 628 7c4a911dc066
parent 588 c7c26511138f
child 629 541af5ee3ed9
equal deleted inserted replaced
588:c7c26511138f 628:7c4a911dc066
     1 <?xml version="1.0"?>
       
     2 <!-- 
       
     3 ============================================================================ 
       
     4 Name        : test_diamonds.ant.xml 
       
     5 Part of     : Helium AntLib
       
     6 
       
     7 Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     8 All rights reserved.
       
     9 This component and the accompanying materials are made available
       
    10 under the terms of the License "Eclipse Public License v1.0"
       
    11 which accompanies this distribution, and is available
       
    12 at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
    13 
       
    14 Initial Contributors:
       
    15 Nokia Corporation - initial contribution.
       
    16 
       
    17 Contributors:
       
    18 
       
    19 Description:
       
    20 
       
    21 ============================================================================
       
    22 -->
       
    23 <project name="test-metadata-validity" xmlns:au="antlib:org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium">
       
    24     <description>Helium Antlib diamonds unittests.</description>
       
    25     
       
    26     <dirname property="project.dir" file="${ant.file.test-metadata-validity}" />
       
    27 
       
    28     <taskdef resource="com/nokia/helium/metadata/ant/antlib.xml" uri="http://www.nokia.com/helium" />
       
    29     <taskdef name="fmpp" classname="fmpp.tools.AntTask"  onerror="report"/>
       
    30 
       
    31     <!--
       
    32     <hlm:metadatafilterset id="all-regex-filterfile">
       
    33         <metadatafilterset filterfile="${project.dir}/../data/common.csv" />
       
    34     </hlm:metadatafilterset>
       
    35 
       
    36     <target name="test-all-regex-filterfile">
       
    37         <echo message="all regular expression validation" />
       
    38         <echo message="database:${project.dir}/../output/log_all_filterfile.sqlite" />
       
    39         <hlm:metadatarecord database="${project.dir}/../output/log_all_filterfile.sqlite">
       
    40             <fileset dir="${project.dir}/../data/">
       
    41                 <include  name="all*.log"/>
       
    42             </fileset>
       
    43            <hlm:saxlogparser>
       
    44                 <metadatafilterset refid="all-regex-filterfile" />
       
    45            </hlm:saxlogparser>
       
    46         </hlm:metadatarecord>
       
    47     </target>
       
    48 
       
    49     <hlm:metadatafilterset id="all-regex-combined">
       
    50         <metadatafilter priority="WARNING" regex=".*warning U4010" description="mingw error" />
       
    51         <metadatafilterset filterfile="${project.dir}/../data/common.csv" />
       
    52     </hlm:metadatafilterset>
       
    53 
       
    54     <target name="test-all-regex-combined">
       
    55         <echo message="all regular expression validation" />
       
    56         <echo message="database:${project.dir}/../output/log_all_combined.sqlite" />
       
    57         <hlm:metadatarecord database="${project.dir}/../output/log_all_combined.sqlite">
       
    58             <fileset dir="${project.dir}/../data/">
       
    59                 <include  name="all*.log"/>
       
    60             </fileset>
       
    61             <hlm:saxlogparser>
       
    62                 <metadatafilterset refid="all-regex-combined" />
       
    63             </hlm:saxlogparser>
       
    64         </hlm:metadatarecord>
       
    65     </target>
       
    66     -->
       
    67 </project>