<?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">

    <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.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="" />
    </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">
        <metadatafilterset refid="filterset.common" />
    </hlm:metadatafilterset>

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


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


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

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

    <hlm:metadatafilterset id="filterset.uda.roms">
        <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>
