blob: 076be947b020186ca95023a30715aca0aa699097 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Build using XDS Dashboard
## Declare project
Use XDS Dashboard to declare your project. Open a browser and connect to XDS
Dashboard.
URL depends of your config, for example `http://localhost:8800`
Open the right sidebar and select `Projects` entry to open project page and then
create/declare a new project by with the plus icon:
![](./pictures/xds-dashboard-icon-2.png){:: style="margin:auto; display:flex"}
<!-- pagebreak -->
Set `Sharing Type` and paths according to your needs.
![](./pictures/xds-dashboard-prj-1.png){:: style="width:90%; max-width:560px; margin:auto; display:flex"}
Note that XDS creates (if not already exists) a file named `xds-project.conf`
when you declare a new project.
This file may be very useful when you plan to use XDS client tools such as `xds-cli` or `xds-gdb`.
<!-- section-note -->
**Note:**
When `Path mapping` type is selected, you must clone your project into
`$HOME/xds-workspace` directory (named **Local Path** in modal window).
If XDS server is running in the XDS docker container (see [Installation based on Docker container](./1-1_install-xds-server-docker.html) ),
the **Server Path** must be set to `/home/devel/xds-workspace/xxx` where xxx is your
project directory name.
If you select `Cloud Sync`, you can clone your project wherever you want on
your local disk.
<!-- end-section-note -->
## Build from XDS dashboard
<!-- section-note -->
**Note:** _helloworld-native-application_ requires few configuration items to be able to walkthrough the whole process.
To pass some environment variables, use the `Settings` window in the `Build` tab. The `Env variables` field allows to pass a list of environment variables (semi-colon separated) that will be set on the server prior to any build action.
For the _helloworld-native-application_ you have to pass something like `RSYNC_TARGET=root@mytarget;RSYNC_PREFIX=/opt` (please replace `mytarget` by a valid target IP address or DNS name entry).
<!-- end-section-note -->
Open the build page build entry of left sidebar ![](./pictures/xds-dashboard-icon-3.png){:: style="display:inline; padding:0;"},
then select your **Project** and the **Cross SDK** you want to use and click on
**Clean / Pre-Build / Build / Populate** buttons to execute various build actions.
![](./pictures/xds-dashboard-prj-2.png){:: style="width:90%; max-width:600px; margin:auto; display:flex"}
|