| author | Igor Fedorenko | 2012-08-13 09:21:58 (EDT) |
|---|---|---|
| committer | Silenio Quarti | 2012-09-12 12:14:34 (EDT) |
| commit | fde8ca999c733978c41bd5a5f513fd38d8003f4b (patch) (side-by-side diff) | |
| tree | 5d10a24833a9170f618b2461a722e858360236a4 | |
| parent | c3f27d0ddcbac8e95134dc05349506924097f45e (diff) | |
| download | eclipse.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.xml | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -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> |

