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