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