buildframework/helium/external/helium-antlib/sysdef/demo/build.xml
author wbernard
Wed, 23 Dec 2009 19:29:07 +0200
changeset 179 d8ac696cc51f
permissions -rw-r--r--
helium_7.0-r14027
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
179
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     2
<!-- 
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     3
============================================================================ 
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     4
Name        : build.xml 
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     5
Part of     : Helium AntLib
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     6
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     7
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     8
All rights reserved.
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
     9
This component and the accompanying materials are made available
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    10
under the terms of the License "Eclipse Public License v1.0"
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    11
which accompanies this distribution, and is available
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    12
at the URL "http://www.eclipse.org/legal/epl-v10.html".
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    13
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    14
Initial Contributors:
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    15
Nokia Corporation - initial contribution.
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    16
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    17
Contributors:
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    18
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    19
Description:
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    20
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    21
============================================================================
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    22
-->
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    23
<project name="helium-antlib-sysdef-demo" xmlns:hlm="http://www.nokia.com/helium">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    24
    <description>Helium Antlib sysdef demo.</description>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    25
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    26
    <taskdef resource="com/nokia/helium/sysdef/ant/antlib.xml" uri="http://www.nokia.com/helium" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    27
    <property name="epocroot" location="data" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    28
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    29
    <target name="demo-join">
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    30
        <hlm:joinSysdef epocroot="${epocroot}" srcfile="${epocroot}/root/system_definition_layer1.xml" destfile="${epocroot}/layer1.sysdef.xml" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    31
        <hlm:joinSysdef epocroot="${epocroot}" srcfile="${epocroot}/root/system_definition_layer2.xml" destfile="${epocroot}/layer2.sysdef.xml" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    32
        <hlm:mergeSysdef epocroot="${epocroot}" destfile="${epocroot}/full_model.sysdef.xml" srcfile="${epocroot}/layer1.sysdef.xml" downstreamfile="${epocroot}/layer2.sysdef.xml" />
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    33
        <hlm:downgradeSysdef epocroot="${epocroot}" srcfile="${epocroot}/full_model.sysdef.xml" destfile="${epocroot}/downgraded_model.sysdef.xml"/>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    34
    </target>
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    35
d8ac696cc51f helium_7.0-r14027
wbernard
parents:
diff changeset
    36
</project>