tmf: Fix custom text parser wizard preview highlighting
[deliverable/tracecompass.git] / README
CommitLineData
69d6a506
AM
1This directory contains the source code for the LTTng integration plugins for
2Eclipse, which includes the generic Tracing and Monitoring Framework (TMF).
3
4The plugins are categorized as follows:
5org.eclipse.linuxtools.ctf.* Common Trace Format (CTF) reader library
6org.eclipse.linuxtools.gdbtrace.* Support for reading and viewing GDB traces
152ba1a7 7org.eclipse.linuxtools.lttng2.* LTTng 2.x integration
69d6a506 8org.eclipse.linuxtools.tmf.* Tracing and Monitoring Framework
0fb2eba9 9org.eclipse.linuxtools.statesystem.* State System library
69d6a506
AM
10org.eclipse.linuxtools.tracing.rcp.* Code specific to the RCP version
11
152ba1a7
AM
12See the plugins.svg file for a diagram showing the dependencies between the
13different plugins.
14
69d6a506
AM
15
16To set up the environment to build TMF from within Eclipse, see this wiki page:
17http://wiki.eclipse.org/Linux_Tools_Project/LTTng_Eclipse_Plug-in_Development_Environment_Setup
18
19
20
21
45e3e452
MAL
22To build the plugins manually using Maven, you first need to build the Linux Tools target definition
23 (starting from the root of the source tree):
24$ cd releng/org.eclipse.linuxtools.target
69d6a506 25$ mvn clean install
45e3e452
MAL
26Then you can build the LTTng plugins:
27$ cd ../../lttng
28$ mvn clean install
29
30As long as you don't clear the Maven reactor cache (in ~/.m2), you should not
31need to rebuild the target definition.
32
69d6a506
AM
33
34The default command will compile and run the unit tests. Running the tests can
35take some time, to skip them you can append "-Dmaven.test.skip=true" to the
36'mvn' command:
37$ mvn clean install -Dmaven.test.skip=true
38
0fb2eba9 39
69d6a506
AM
40The RCP is not built by default, to build it you need to add "-PtracingRcp" to
41the 'mvn' command:
42$ mvn clean install -PtracingRcp -Dmaven.test.skip=true
58d9bc36
AM
43
44This will build the RCP for all supported architectures. The resulting archives
45will be placed in lttng/org.eclipse.linuxtools.tracing.rcp.product/target/products
46
0fb2eba9
BH
47
48To build a local p2 update site (LTTng integration only)
49$ mvn clean install -PlttngPackage
50
51This will place the p2 update site under the default location
52/var/www/tools/linuxtools/lttng/update-nightly/
53
54To change the package location, use:
55$ mvn clean install -PlttngPackage "-DlttngPackageDestination=<package destination>"
56
57where <package destination> is the absolute path to destination directory on your disk.
58
This page took 0.044437 seconds and 5 git commands to generate.