buildframework/helium/tools/release/templates/ido-robot-zip.ant.xml.ftl
author lorewang
Wed, 17 Nov 2010 11:21:28 +0800
changeset 684 2defe8c85348
parent 645 b8d81fa19e7d
permissions -rw-r--r--
elf2e32 treatment of ARM$$INIT_ARRAY$$Base can break GCCE builds

<#--
============================================================================ 
Name        : ido-robot-zip.ant.xml.ftl 
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:

============================================================================
--> 
<?xml version="1.0"?>
<project name="ido-zip" default="all">
    <target name="all">
        <delete file="${ant['build.output.dir']}/s60Sources.7z" failonerror="false"/>
        <#if ((data?keys?size > 0) && (ant['robot.release.project']?split(';')?size > 0))>
            <#list data?keys as name>
                <#list ant['robot.release.project']?split(',') as project>
                    <#if name?replace('\\', '/')?lower_case?contains("/${project}/${project}"?lower_case)>
                    <#-- 7za u test.7z  output/analysisdata/ -->
                    <exec executable="7za" dir="${name}/../">
                        <arg value="u"/>
                        <arg value="-xr!*/internal/*"/>
                        <arg value="-xr!*/doc/*"/>
                        <arg value="-xr!_ccmwaid.inf"/>
                        <arg value="-xr!abld.bat"/>
                        <arg value="${ant['build.output.dir']}/s60Sources.7z"/>
                        <arg value="${name?split("/")?last}/"/>
                    </exec>                    
                    </#if>
                </#list>
            </#list>
        </#if>
        <copy todir="${ant['s60.build.robot.path']}" file="${ant['build.output.dir']}/s60Sources.7z" failonerror="false" />        
    </target>
</project>