Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Oberlies2011-12-17 14:30:33 +0000
committerLakshmi Shanmugam2014-11-19 17:13:56 +0000
commit1fb1522a48d55b59d07f0c37bf5e56bead8298b5 (patch)
tree442415e48184a1e063c32a891bf7220ac535c178 /bundles/org.eclipse.swt/pom.xml
parentddf37d819ff05e07a09111f1aee82664955e5aa8 (diff)
downloadeclipse.platform.swt-1fb1522a48d55b59d07f0c37bf5e56bead8298b5.tar.gz
eclipse.platform.swt-1fb1522a48d55b59d07f0c37bf5e56bead8298b5.tar.xz
eclipse.platform.swt-1fb1522a48d55b59d07f0c37bf5e56bead8298b5.zip
361901 - p2 metadata of org.eclipse.swt is incomplete
Ensure installation of fragments of org.eclipse.swt - Make sure that SWT can be installed with p2: whenever the bundle org.eclipse.swt is installed, the appropriate native fragment shall be installed as well. This is achieved by adding install-time dependencies, filtered by the running platform, from org.eclipse.swt to all its fragments. - The install-time dependencies are disabled at build time because otherwise there would be a circular dependency between the host and its fragments. This is achieved through the additional condition "(!(org.eclipse.swt.buildtime=true))" in the filters which is made evaluate to false by setting org.eclipse.swt.buildtime=true in the build. - Modified buildSWT.xml to generate the time-stamp qualifiers and write the qualifiers in the pom files in source and binaries repos. Bug: 361901 Change-Id: I37b1f6c0ea5231850319e1fc4098e412e327d7e2 Signed-off-by: Tobias Oberlies <tobias.oberlies@sap.com> Signed-off-by: Lakshmi Shanmugam <lshanmug@in.ibm.com>
Diffstat (limited to 'bundles/org.eclipse.swt/pom.xml')
-rw-r--r--bundles/org.eclipse.swt/pom.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/pom.xml b/bundles/org.eclipse.swt/pom.xml
index 6fb6908c67..10e4ef20c7 100644
--- a/bundles/org.eclipse.swt/pom.xml
+++ b/bundles/org.eclipse.swt/pom.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
Copyright (c) 2012, 2013 Eclipse Foundation and others.
All rights reserved. This program and the accompanying materials
@@ -22,10 +22,21 @@
<artifactId>org.eclipse.swt</artifactId>
<version>3.104.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
+ <properties>
+ <forceContextQualifier>v20141119-1356</forceContextQualifier>
+ </properties>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-packaging-plugin</artifactId>
+ <version>${tycho.version}</version>
+ <configuration>
+ <forceContextQualifier>${forceContextQualifier}</forceContextQualifier>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<configuration>
<dependency-resolution>

Back to the top