equal
deleted
inserted
replaced
|
1 <#-- |
|
2 ============================================================================ |
|
3 Name : ido-robot-zip.ant.xml.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 <?xml version="1.0"?> |
|
23 <project name="ido-zip" default="all"> |
|
24 <target name="all"> |
|
25 <delete file="${ant['build.output.dir']}/s60Sources.7z" failonerror="false"/> |
|
26 <#if ((data?keys?size > 0) && (ant['robot.release.project']?split(';')?size > 0))> |
|
27 <#list data?keys as name> |
|
28 <#list ant['robot.release.project']?split(',') as project> |
|
29 <#if name?replace('\\', '/')?lower_case?contains("/${project}/${project}"?lower_case)> |
|
30 <#-- 7za u test.7z output/analysisdata/ --> |
|
31 <exec executable="7za" dir="${name}/../"> |
|
32 <arg value="u"/> |
|
33 <arg value="-xr!*/internal/*"/> |
|
34 <arg value="-xr!*/doc/*"/> |
|
35 <arg value="-xr!_ccmwaid.inf"/> |
|
36 <arg value="-xr!abld.bat"/> |
|
37 <arg value="${ant['build.output.dir']}/s60Sources.7z"/> |
|
38 <arg value="${name?split("/")?last}/"/> |
|
39 </exec> |
|
40 </#if> |
|
41 </#list> |
|
42 </#list> |
|
43 </#if> |
|
44 <copy todir="${ant['s60.build.robot.path']}" file="${ant['build.output.dir']}/s60Sources.7z" failonerror="false" /> |
|
45 </target> |
|
46 </project> |