<?xml version="1.0" encoding="UTF-8"?>
<!-- 
============================================================================ 
Name        : metadata_filter__config_default.xml 
Part of     : Helium 

Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved.
This component and the accompanying materials are made available
under the terms of the License "Eclipse Public License v1.0"
which accompanies this distribution, and is available
at the URL "http://www.eclipse.org/legal/epl-v10.html".

Initial Contributors:
Nokia Corporation - initial contribution.

Contributors:

Description:

============================================================================
-->
<project name="metadata-filter-config" xmlns:hlm="http://www.nokia.com/helium">
    <description>
    Definitions of metadata filter inputs. 
    </description>
    <hlm:metadatafilterset id="filterset.common">
        <metadatafilterset filterfile="${helium.dir}/config/metadata_regex.csv" />
    </hlm:metadatafilterset>

    <!-- Unique filter id is generated for each filterset used during specific phase
        of the builds. Customer could override it by redifning the filterset
        with same id and add their own configuration on top of it. 
    -->
    <hlm:metadatafilterset id="filterset.genxml.ec">
        <metadatafilterset refid="filterset.common" />
    </hlm:metadatafilterset>


    <hlm:metadatafilterset id="filterset.test.ccm">
        <metadatafilter priority="error" regex="^ERROR:" description="" />
        <metadatafilter priority="warning" regex="^WARNING:.*" description="" />
        <metadatafilter priority="info" regex="^INFO:" />
    </hlm:metadatafilterset>

    <hlm:metadatafilterset id="filterset.qmake">
        <metadatafilter priority="error" regex="^Error processing project file:" description="qt error" />
        <metadatafilter priority="error" regex="^Result: [1-9][0-9]*" description="qt error" />
        <metadatafilterset refid="filterset.common" />
    </hlm:metadatafilterset>

    <hlm:metadatafilterset id="filterset.qt.configure">
        <metadatafilterset refid="filterset.common" />
    </hlm:metadatafilterset>

    <hlm:metadatafilterset id="filterset.sbs">
        <metadatafilterset refid="filterset.common" />
    </hlm:metadatafilterset>

    <hlm:metadatafilterset id="filterset.compile">
        <metadatafilterset refid="filterset.common" />
    </hlm:metadatafilterset>

    <hlm:metadatafilterset id="filterset.genxml.merge">
        <metadatafilter priority="error" regex="^ERROR:.*" description="" />
        <metadatafilter priority="error" regex=".*Context:.*" description="" />
        <metadatafilter priority="error" regex=".*Can't open perl script.*" description="" />
    </hlm:metadatafilterset>

    <hlm:metadatafilterset id="filterset.buildarea.prep">
        <metadatafilterset refid="filterset.common" />
    </hlm:metadatafilterset>

    <hlm:metadatafilterset id="filterset.ant.output">
        <metadatafilterset refid="filterset.common" />
    </hlm:metadatafilterset>

    <hlm:metadatafilterset id="filterset.imaker">
        <metadatafilter priority="error" regex="^\s*Total duration:\s+\d+:\d+\s+Status:\s+FAILED" description="" />
        <metadatafilter priority="error" regex="^.+- DOESN'T EXIST" description="" />
        <metadatafilterset refid="filterset.common" />
    </hlm:metadatafilterset>

    <hlm:metadatafilterset id="filterset.temprecord">
        <metadatafilterset refid="filterset.common" />
    </hlm:metadatafilterset>
    
    <hlm:metadatafilterset id="filterset.dp">
        <metadatafilterset refid="filterset.common" />
    </hlm:metadatafilterset>
    
    <hlm:metadatafilterset id="filterset.fota">
        <metadatafilterset refid="filterset.common" />
    </hlm:metadatafilterset>
    
    <hlm:metadatafilterset id="filterset.archive.nopolicy">
        <metadatafilterset refid="filterset.common" />
    </hlm:metadatafilterset>
    
    <hlm:metadatafilterset id="filterset.getenv">
        <metadatafilterset refid="filterset.common" />
    </hlm:metadatafilterset>
    
    <hlm:metadatafilterset id="filterset.archive.policy">
        <metadatafilter priority="error" regex="^POLICY_ERROR:" description="" />
        <metadatafilter priority="warning" regex="^POLICY_WARNING:" description="" /> 
        <metadatafilter priority="info" regex="^POLICY_INFO:" description="" /> 
    </hlm:metadatafilterset>
    
    <hlm:metadatafilterset id="filterset.prepWorkArea">
        <metadatafilterset refid="filterset.common" />
    </hlm:metadatafilterset>

    <hlm:metadatafilterset id="filterset.ats">
        <metadatafilterset refid="filterset.common" />
    </hlm:metadatafilterset>

    <hlm:metadatafilterset id="filterset.aste">
        <metadatafilterset refid="filterset.common" />
    </hlm:metadatafilterset>

    <hlm:metadatafilterset id="filterset.sisfiles">
        <metadatafilter priority="error" regex=".*[Ee]rror\s*:\s+.*" description="To capture the error generated by makesis" />
        <metadatafilter priority="error" regex=".*file I/O fault.*" description="To capture the error generated by signsis" />
    </hlm:metadatafilterset>
    
</project>
