587
|
1 |
===============
|
|
2 |
Building Helium
|
|
3 |
===============
|
|
4 |
|
|
5 |
Prerequisite
|
|
6 |
------------
|
|
7 |
|
|
8 |
Before using bld commands please make sure your *JAVA_HOME* environment variable is pointing to the required JDK.
|
|
9 |
All the following operation must be run from the builder folder available on the root of helium source tree.
|
|
10 |
|
|
11 |
|
|
12 |
How to build Helium?
|
|
13 |
--------------------
|
|
14 |
|
|
15 |
The following sequence of command is showing you how to get Helium built and packaged up:
|
|
16 |
|
|
17 |
::
|
|
18 |
|
|
19 |
> cd builder
|
|
20 |
> bld build
|
|
21 |
....
|
|
22 |
> bld -Dconfig=sf get-deps
|
|
23 |
...
|
|
24 |
> cd ..
|
|
25 |
> hlm version
|
|
26 |
... This should show the helium version ...
|
|
27 |
> cd builder
|
|
28 |
> bld -Dconfig=sf create-releasable
|
|
29 |
|
|
30 |
|
|
31 |
Building
|
|
32 |
--------
|
|
33 |
|
|
34 |
Run the following command on the route of your delivery `bld` or `bld -Dcomponent=<component_name>` to build only one component.
|
|
35 |
|
|
36 |
Cleaning
|
|
37 |
--------
|
|
38 |
|
|
39 |
To cleanup the generated files under each component just run `bld clean`
|
|
40 |
Removing the build temp folder run `bld clean`.
|
|
41 |
|
|
42 |
Testing
|
|
43 |
-------
|
|
44 |
|
|
45 |
To run all the testing (junit + antunit):
|
|
46 |
|
|
47 |
::
|
|
48 |
|
|
49 |
> bld test
|
|
50 |
|
|
51 |
|
|
52 |
JUnit testing:
|
|
53 |
::
|
|
54 |
|
|
55 |
> bld junit
|
|
56 |
|
|
57 |
AntUnit testing:
|
|
58 |
::
|
|
59 |
|
|
60 |
> bld unittest
|
|
61 |
|
|
62 |
|
|
63 |
Using components inside Helium structure
|
|
64 |
----------------------------------------
|
|
65 |
|
|
66 |
Once you have been buidling and testing components you can then use them under Helium.
|
|
67 |
In order to get all Helium dependencies copied just run:
|
|
68 |
::
|
|
69 |
|
|
70 |
> bld -Dconfig=<config> get-deps
|
|
71 |
|
|
72 |
Creating a deliverable package
|
|
73 |
------------------------------
|
|
74 |
|
|
75 |
In order to create a simplified delivery of Helium which contains only deliverable, run the following command:
|
|
76 |
::
|
|
77 |
|
|
78 |
> bld -Dconfig=<config> create-releasable
|
|
79 |
|
|
80 |
|
|
81 |
How to get the list of target supported by the builder?
|
|
82 |
-------------------------------------------------------
|
|
83 |
|
|
84 |
::
|
|
85 |
|
|
86 |
> bld -p
|
|
87 |
|