summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2012-08-13 09:21:58 (EDT)
committer Silenio Quarti2012-09-12 12:14:34 (EDT)
commitfde8ca999c733978c41bd5a5f513fd38d8003f4b (patch)
tree5d10a24833a9170f618b2461a722e858360236a4
parentc3f27d0ddcbac8e95134dc05349506924097f45e (diff)
downloadeclipse.platform.swt.binaries-fde8ca999c733978c41bd5a5f513fd38d8003f4b.zip
eclipse.platform.swt.binaries-fde8ca999c733978c41bd5a5f513fd38d8003f4b.tar.gz
eclipse.platform.swt.binaries-fde8ca999c733978c41bd5a5f513fd38d8003f4b.tar.bz2
Bug 386646 - build against declared and/or observed bundle runtime execution environment
-rw-r--r--pom.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index d62f920..0a7513b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -37,4 +37,32 @@
<module>bundles/org.eclipse.swt.cocoa.macosx.x86_64</module>
<module>bundles/org.eclipse.swt.win32.wce_ppc.arm</module>
</modules>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <configuration>
+ <!--
+ minimal declared bree is CDC-1.0/Foundation-1.0
+ all/most swt fragments require awt during build so one of j2se is required
+ theoretically we should be using J2SE-1.3, but I am too lazy to locate
+ and install it for my linux/x64 system.
+ -->
+ <executionEnvironment>J2SE-1.4</executionEnvironment>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.eclipse.tycho</groupId>
+ <artifactId>tycho-compiler-plugin</artifactId>
+ <configuration>
+ <!-- setup compiler source/target to match CDC-1.0/Foundation-1.0 -->
+ <source>1.3</source>
+ <target>1.1</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
</project>