buildframework/helium/build.xml
author wbernard
Sun, 10 Oct 2010 15:22:15 +0300
changeset 645 b8d81fa19e7d
parent 629 541af5ee3ed9
permissions -rw-r--r--
helium_12.0.0-63b64366f9cf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
645
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
     2
<!-- 
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
     3
============================================================================ 
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
     4
Name        : build.xml 
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
     5
Part of     : Helium 
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
     6
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
     7
Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
     8
All rights reserved.
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
     9
This component and the accompanying materials are made available
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    10
under the terms of the License "Eclipse Public License v1.0"
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    11
which accompanies this distribution, and is available
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    12
at the URL "http://www.eclipse.org/legal/epl-v10.html".
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    13
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    14
Initial Contributors:
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    15
Nokia Corporation - initial contribution.
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    16
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    17
Contributors:
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    18
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    19
Description:
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    20
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    21
============================================================================
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    22
-->
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    23
<project name="helium-build" default="help" xmlns:au="org.apache.ant.antunit" xmlns:hlm="http://www.nokia.com/helium"> 
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    24
    <description>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    25
        Helium targets to build helium itself.
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    26
    </description>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    27
    <property environment="env" />
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    28
    
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    29
    <property name="build.drive" location="${env.TEMP}/helium/temp_drive"/>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    30
    <mkdir dir="${build.drive}/"/> 
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    31
    
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    32
    <!--* @property helium.version
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    33
    @type string
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    34
    @scope private -->
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    35
    <property file="${helium.dir}/config/version.txt"/>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    36
    <property name="release.label" value="${helium.version}"/>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    37
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    38
    <property name="doc.src.dir" location="${basedir}/doc/src" />
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    39
    <!-- Override docs targets to do more for Helium. -->
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    40
    <target name="apidocs" depends="internal.docs.apidocs"/>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    41
    <!-- Generate rst files for docs -->
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    42
    <target name="prep-textdocs">
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    43
        <parallel>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    44
            <antcall target="overview-to-html"/>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    45
            <antcall target="dependency-diagram"/>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    46
            <antcall target="dependency-logs"/>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    47
            <antcall target="release-diff"/>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    48
            <antcall target="helium-user-graph"/>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    49
        </parallel>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    50
        <antcall target="internal.docs.prep-textdocs"/>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    51
        <antcall target="helium-prep-textdocs"/>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    52
    </target>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    53
    
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    54
    <!-- generate all the user documentation for helium -->
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    55
    <target name="docs" depends="clean-docs,docs-database,apidocs,textdocs,docs-check-links"/>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    56
    
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    57
    <!-- Generates an Ant XML database file showing only public content.
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    58
    @scope private    
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    59
    -->
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    60
    <target name="docs-database">
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    61
        <hlm:databaseMacro file="${public.database.file}" scope="public"/>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    62
    </target>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    63
    
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    64
    <import file="helium.ant.xml"/>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    65
    <import file="tools/startup/antserver/antserver.ant.xml"/>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    66
    
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    67
    <if>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    68
        <isset property="nokia.dir"/>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    69
        <then>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    70
            <resources id="textdoc.paths">
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    71
                <path>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    72
                    <pathelement path="${doc.src.dir}"/>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    73
                    <pathelement path="${basedir}/extensions/nokia/doc/src"/>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    74
                </path>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    75
            </resources>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    76
        </then>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    77
    </if>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    78
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    79
</project>
b8d81fa19e7d helium_12.0.0-63b64366f9cf
wbernard
parents: 629
diff changeset
    80