Build the RCP by default
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Mon, 31 Aug 2015 22:51:02 +0000 (18:51 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Wed, 2 Sep 2015 22:21:12 +0000 (18:21 -0400)
Activate the "build-rcp" profile by default, and document how to
disable it to skip building the RCP.

Change-Id: I118db241eac28446121a4a6f5d1b71f1e5a7f1fb
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/54943
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
README.md
rcp/pom.xml

index 06c9ba97a89e9485c61002f1518b4d47e5ca20af..55e5982ce289e8a9d09c9a1f64221ead073937c8 100644 (file)
--- a/README.md
+++ b/README.md
@@ -34,7 +34,7 @@ wiki page:
 Compiling manually
 ------------------
 
-To build the plugins manually using Maven, simply run the following command from
+To build the project manually using Maven, simply run the following command from
 the top-level directory:
 
     mvn clean install
@@ -45,16 +45,11 @@ take some time, to skip them you can append `-Dmaven.test.skip=true` to the
 
     mvn clean install -Dmaven.test.skip=true
 
-The RCP is not built by default, to build it you need to add `-Pbuild-rcp` to
-the `mvn` command:
+Stand-alone application (RCP) packages will be placed in
+`rcp/org.eclipse.tracecompass.rcp.product/target/products`.
 
-    mvn clean install -Pbuild-rcp -Dmaven.test.skip=true
-
-This will build the RCP for all supported architectures. The resulting archives
-will be placed in `rcp/org.eclipse.tracecompass.rcp.product/target/products`.
-
-These commands will also build the p2 update site, which will be placed in
-`releng/org.eclipse.tracecompass.releng-site/target/repository`.
+The p2 update site, used for installation as plugins inside Eclipse, will be
+placed in `releng/org.eclipse.tracecompass.releng-site/target/repository`.
 
 
 Maven profiles and properties
@@ -77,9 +72,9 @@ the build system. You can set them by using `-P[profile name]` and
   Re-compiles the CTF grammar files. This should be enabled if you modify the
   `.g` files in the `ctf.parser` plugin.
 
-* `-Pbuild-rcp`
+* `-P -build-rcp`
 
-  Builds the RCP archives. Refer to the previous section for details.
+  Disables the "build-rcp" profile to skip building the RCP archives.
 
 * `-Prun-custom-test-suite`
 
index f8461e4db121342d407e2c29108a3396b7582dcc..5611bcb2f9be3c42339804dc2a46a6acc0079599 100644 (file)
@@ -39,6 +39,9 @@
   <profiles>
     <profile>
       <id>build-rcp</id>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
       <modules>
         <module>org.eclipse.tracecompass.rcp.product</module>
       </modules>
This page took 0.026365 seconds and 5 git commands to generate.