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

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

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="helium-antlib-sysdef-demo" xmlns:hlm="http://www.nokia.com/helium">
    <description>Helium Antlib sysdef demo.</description>

    <taskdef resource="com/nokia/helium/sysdef/ant/antlib.xml" uri="http://www.nokia.com/helium" />
    <property name="epocroot" location="data" />

    <target name="demo-join">
        <hlm:joinSysdef epocroot="${epocroot}" srcfile="${epocroot}/root/system_definition_layer1.xml" destfile="${epocroot}/layer1.sysdef.xml" />
        <hlm:joinSysdef epocroot="${epocroot}" srcfile="${epocroot}/root/system_definition_layer2.xml" destfile="${epocroot}/layer2.sysdef.xml" />
        <hlm:mergeSysdef epocroot="${epocroot}" destfile="${epocroot}/full_model.sysdef.xml" srcfile="${epocroot}/layer1.sysdef.xml" downstreamfile="${epocroot}/layer2.sysdef.xml" />
        <hlm:downgradeSysdef epocroot="${epocroot}" srcfile="${epocroot}/full_model.sysdef.xml" destfile="${epocroot}/downgraded_model.sysdef.xml"/>
    </target>

</project>