Commit | Line | Data |
---|---|---|
69d6a506 AM |
1 | This directory contains the source code for the LTTng integration plugins for |
2 | Eclipse, which includes the generic Tracing and Monitoring Framework (TMF). | |
3 | ||
4 | The plugins are categorized as follows: | |
5 | org.eclipse.linuxtools.ctf.* Common Trace Format (CTF) reader library | |
6 | org.eclipse.linuxtools.gdbtrace.* Support for reading and viewing GDB traces | |
152ba1a7 | 7 | org.eclipse.linuxtools.lttng2.* LTTng 2.x integration |
69d6a506 | 8 | org.eclipse.linuxtools.tmf.* Tracing and Monitoring Framework |
0fb2eba9 | 9 | org.eclipse.linuxtools.statesystem.* State System library |
69d6a506 AM |
10 | org.eclipse.linuxtools.tracing.rcp.* Code specific to the RCP version |
11 | ||
152ba1a7 AM |
12 | See the plugins.svg file for a diagram showing the dependencies between the |
13 | different plugins. | |
14 | ||
69d6a506 AM |
15 | |
16 | To set up the environment to build TMF from within Eclipse, see this wiki page: | |
17 | http://wiki.eclipse.org/Linux_Tools_Project/LTTng_Eclipse_Plug-in_Development_Environment_Setup | |
18 | ||
19 | ||
20 | ||
21 | ||
d3a85038 AM |
22 | To build the plugins manually using Maven, simply run the following command from |
23 | the top-level directory: | |
69d6a506 | 24 | $ mvn clean install |
45e3e452 | 25 | |
69d6a506 AM |
26 | |
27 | The default command will compile and run the unit tests. Running the tests can | |
28 | take some time, to skip them you can append "-Dmaven.test.skip=true" to the | |
29 | 'mvn' command: | |
30 | $ mvn clean install -Dmaven.test.skip=true | |
31 | ||
0fb2eba9 | 32 | |
69d6a506 AM |
33 | The RCP is not built by default, to build it you need to add "-PtracingRcp" to |
34 | the 'mvn' command: | |
35 | $ mvn clean install -PtracingRcp -Dmaven.test.skip=true | |
58d9bc36 AM |
36 | |
37 | This will build the RCP for all supported architectures. The resulting archives | |
d3a85038 | 38 | will be placed in org.eclipse.linuxtools.tracing.rcp.product/target/products |
58d9bc36 | 39 | |
0fb2eba9 | 40 | |
d3a85038 AM |
41 | To build a local p2 update site |
42 | $ mvn clean install -PbuildUpdateSite | |
0fb2eba9 BH |
43 | |
44 | This will place the p2 update site under the default location | |
d3a85038 | 45 | /var/www/tools/tracecompass/nightly/ |
0fb2eba9 BH |
46 | |
47 | To change the package location, use: | |
d3a85038 | 48 | $ mvn clean install -PbuildUpdateSite "-DsiteDestination=<package destination>" |
0fb2eba9 | 49 | |
d3a85038 AM |
50 | where <package destination> is the absolute path to destination directory on |
51 | your disk. | |
0fb2eba9 | 52 |