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 /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 'pom.xml')
-rw-r--r--pom.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 0387ebe48e..ec57bb942c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -41,6 +41,23 @@
</repository>
</repositories>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <version>${tycho.version}</version>
+ <configuration>
+ <dependency-resolution>
+ <profileProperties>
+ <org.eclipse.swt.buildtime>true</org.eclipse.swt.buildtime>
+ </profileProperties>
+ </dependency-resolution>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
<modules>
<module>bundles/org.eclipse.swt</module>
<module>bundles/org.eclipse.swt.tools</module>

Back to the top