buildframework/helium/sf/java/metadata/tests/data/sbs/sysdef_data.ini.ftl
changeset 628 7c4a911dc066
equal deleted inserted replaced
588:c7c26511138f 628:7c4a911dc066
       
     1 <#--
       
     2 ============================================================================ 
       
     3 Name        : sysdef_data.ini.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 <#setting number_format="0">
       
    23 <#assign table_info = pp.loadData('com.nokia.helium.metadata.ORMFMPPLoader', "${dbPath}") >
       
    24 component.count=${table_info['jpasingle']['select count(c.id) from Component c'][0]}
       
    25 <#assign counter=0>
       
    26 <#list table_info['jpa']['select c from Component c'] as component>
       
    27 component.${counter}.unit.id=${component.unitId}
       
    28 component.${counter}.unit.location=<#if component.sysdefUnit??>${component.sysdefUnit.location}</#if>
       
    29 <#assign counter=counter + 1>
       
    30 </#list>