diff options
| author | Igor Fedorenko | 2012-08-13 13:21:43 +0000 |
|---|---|---|
| committer | Paul Webster | 2012-09-12 15:50:11 +0000 |
| commit | a548c8362e5c2bce0e372842bdf321e3639a6fbd (patch) | |
| tree | c70ff3e1ea941ebf2599bd474391606a20c055d7 | |
| parent | 003bbdc530cf74147ae8222ada741536782911c9 (diff) | |
| download | eclipse.platform.runtime-a548c8362e5c2bce0e372842bdf321e3639a6fbd.tar.gz eclipse.platform.runtime-a548c8362e5c2bce0e372842bdf321e3639a6fbd.tar.xz eclipse.platform.runtime-a548c8362e5c2bce0e372842bdf321e3639a6fbd.zip | |
Bug 386646 - build against declared and/or observed bundle runtime execution environment
| -rw-r--r-- | bundles/org.eclipse.core.expressions/pom.xml | 12 | ||||
| -rw-r--r-- | bundles/org.eclipse.core.runtime/pom.xml | 12 | ||||
| -rw-r--r-- | tests/org.eclipse.core.tests.harness/pom.xml | 15 |
3 files changed, 16 insertions, 23 deletions
diff --git a/bundles/org.eclipse.core.expressions/pom.xml b/bundles/org.eclipse.core.expressions/pom.xml index f71e27e07..0d071e396 100644 --- a/bundles/org.eclipse.core.expressions/pom.xml +++ b/bundles/org.eclipse.core.expressions/pom.xml @@ -24,23 +24,13 @@ <artifactId>org.eclipse.core.expressions</artifactId> <version>3.4.400-SNAPSHOT</version> <packaging>eclipse-plugin</packaging> - <build> <plugins> <plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>target-platform-configuration</artifactId> <configuration> - <!-- - build.properties jre.compilation.profile=J2SE-1.3. This is expected to force Tycho ignore - org.w3c.dom package provided by java standard libraries - - META-INF/MANIFEST.MF Import-Package:org.w3c.dom. This is expected to force Tycho resolve org.w3c.dom - package from dependencies, i.e. from javax.xml bundle. - - Due to an apparent bug in Tycho the above does not happen and compilation fails with "Access restriction" - errors for org.w3c.dom.* classes. As a workaround, we force J2SE-1.4 compilation profile. - --> + <!-- observed BREE as of Juno --> <executionEnvironment>J2SE-1.4</executionEnvironment> </configuration> </plugin> diff --git a/bundles/org.eclipse.core.runtime/pom.xml b/bundles/org.eclipse.core.runtime/pom.xml index 34d166747..c64d48439 100644 --- a/bundles/org.eclipse.core.runtime/pom.xml +++ b/bundles/org.eclipse.core.runtime/pom.xml @@ -23,16 +23,4 @@ <artifactId>org.eclipse.core.runtime</artifactId> <version>3.8.0-SNAPSHOT</version> <packaging>eclipse-plugin</packaging> - - <build> - <plugins> - <plugin> - <groupId>org.eclipse.tycho</groupId> - <artifactId>target-platform-configuration</artifactId> - <configuration> - <executionEnvironment>CDC-1.0/Foundation-1.0</executionEnvironment> - </configuration> - </plugin> - </plugins> - </build> </project> diff --git a/tests/org.eclipse.core.tests.harness/pom.xml b/tests/org.eclipse.core.tests.harness/pom.xml index e592cbe58..b190be078 100644 --- a/tests/org.eclipse.core.tests.harness/pom.xml +++ b/tests/org.eclipse.core.tests.harness/pom.xml @@ -23,4 +23,19 @@ <artifactId>org.eclipse.core.tests.harness</artifactId> <version>3.8.0-SNAPSHOT</version> <packaging>eclipse-plugin</packaging> + <build> + <plugins> + <plugin> + <groupId>org.eclipse.tycho</groupId> + <artifactId>target-platform-configuration</artifactId> + <configuration> + <!-- + /src/org/eclipse/core/tests/session/SetupManager.java uses String.replaceAll(String, String) + which was introduced in JDK 1.4 + --> + <executionEnvironment>J2SE-1.4</executionEnvironment> + </configuration> + </plugin> + </plugins> + </build> </project> |
