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