equal
deleted
inserted
replaced
|
1 <#-- |
|
2 ============================================================================ |
|
3 Name : task-publish.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="task-publish" default="all" xmlns:hlm="http://www.nokia.com/helium"> |
|
24 |
|
25 <target name="all"> |
|
26 <#if (ant?keys?seq_contains('ccm.cache.xml'))> |
|
27 <hlm:createSessionMacro database="${ant['ccm.database']}" reference="publish.session" cache="${ant['ccm.cache.xml']}"/> |
|
28 <#else> |
|
29 <hlm:createSessionMacro database="${ant['ccm.database']}" reference="publish.session"/> |
|
30 </#if> |
|
31 <hlm:ccm verbose="false"> |
|
32 <!-- Defining some session to use. --> |
|
33 <hlm:sessionset refid="publish.session"/> |
|
34 |
|
35 <hlm:addtask folder="${ant['publish.ccm.folder']}"> |
|
36 <#list bom['/bom/content//task/id'] as task> |
|
37 <task name="${task?trim}"/> |
|
38 </#list> |
|
39 </hlm:addtask> |
|
40 <#if (!ant?keys?seq_contains('ccm.cache.xml'))> |
|
41 <hlm:close/> |
|
42 </#if> |
|
43 </hlm:ccm> |
|
44 </target> |
|
45 |
|
46 <!-- this is needed to include ccmtask support. --> |
|
47 <import file="${ant['helium.dir']}/helium.ant.xml"/> |
|
48 </project> |