rcp: Add profile to build only one rcp (one environment)
authorMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Wed, 20 Jan 2016 16:14:39 +0000 (11:14 -0500)
committerMarc-Andre Laperle <marc-andre.laperle@ericsson.com>
Thu, 21 Jan 2016 03:07:19 +0000 (22:07 -0500)
When running validation builds (Gerrit trigger), we don't need
to build all environments. A failure to assemble the product on
only one platform is highly unlikely and would be caught by the
nightly build, at worse.

This patch adds a profile so that only one environment is built
(Linux 64).

Change-Id: Icba6d6a1b01da605db6fe19cceb2e3a2b3694315
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/64784
Reviewed-by: Hudson CI
rcp/org.eclipse.tracecompass.rcp.product/pom.xml

index a1e2771676c122a94ea3e30b768bfaad42ec7361..7bfdd90304d4a8d87173df42b4186985d87f35c1 100644 (file)
         </plugins>
       </build>
     </profile>
-  </profiles>
-
+    <profile>
+      <id>build-one-rcp</id>
+        <build>
+          <plugins>
+            <plugin>
+              <groupId>org.eclipse.tycho</groupId>
+              <artifactId>target-platform-configuration</artifactId>
+              <configuration>
+                <environments>
+                  <environment>
+                    <os>linux</os>
+                    <ws>gtk</ws>
+                    <arch>x86_64</arch>
+                  </environment>
+                </environments>
+              </configuration>
+            </plugin>
+         </plugins>
+        </build>
+      </profile>
+    </profiles>
 </project>
This page took 0.0262 seconds and 5 git commands to generate.