lttng: Add a README file with build instructions
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Mon, 29 Jul 2013 20:12:09 +0000 (16:12 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Thu, 1 Aug 2013 14:58:38 +0000 (10:58 -0400)
Users might want to build the RCP version manually, and the commands
are not documented anywhere yet.

Change-Id: I45f61a1c80fdc081941f2e2c980fd704f7621cf9
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/14942
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
IP-Clean: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
README [new file with mode: 0644]

diff --git a/README b/README
new file mode 100644 (file)
index 0000000..ce03c36
--- /dev/null
+++ b/README
@@ -0,0 +1,37 @@
+This directory contains the source code for the LTTng integration plugins for
+Eclipse, which includes the generic Tracing and Monitoring Framework (TMF).
+
+The plugins are categorized as follows:
+org.eclipse.linuxtools.ctf.*          Common Trace Format (CTF) reader library
+org.eclipse.linuxtools.gdbtrace.*     Support for reading and viewing GDB traces
+org.eclipse.linuxtools.lttng*         LTTng 2.x integration
+org.eclipse.linuxtools.tmf.*          Tracing and Monitoring Framework
+org.eclipse.linuxtools.tracing.rcp.*  Code specific to the RCP version
+
+
+To set up the environment to build TMF from within Eclipse, see this wiki page:
+http://wiki.eclipse.org/Linux_Tools_Project/LTTng_Eclipse_Plug-in_Development_Environment_Setup
+
+
+
+
+To build it using Maven, you first need to build the Linux Tools licensing
+feature (starting from the root of the source tree):
+$ cd releng/org.eclipse.linuxtools.license-feature
+$ mvn clean install
+Then you can build the LTTng plugins:
+$ cd ../../lttng
+$ mvn clean install
+
+As long as you don't clear the Maven reactor cache (in ~/.m2), you should not
+need to rebuild the licensing feature.
+
+
+The default command will compile and run the unit tests. Running the tests can
+take some time, to skip them you can append "-Dmaven.test.skip=true" to the
+'mvn' command:
+$ mvn clean install -Dmaven.test.skip=true
+
+The RCP is not built by default, to build it you need to add "-PtracingRcp" to
+the 'mvn' command:
+$ mvn clean install -PtracingRcp -Dmaven.test.skip=true
This page took 0.02918 seconds and 5 git commands to generate.