Mercurial > hg > Blog
diff content/Maven/cross-jdk-project-files-continued.md @ 98:1d9382b0329b
Specify the syntax on markdown blocks to avoid broken output that has class=err
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Thu, 19 Dec 2019 10:04:33 +0100 |
parents | 4cd9b65e10e4 |
children |
line wrap: on
line diff
--- a/content/Maven/cross-jdk-project-files-continued.md Thu Dec 19 09:31:57 2019 +0100 +++ b/content/Maven/cross-jdk-project-files-continued.md Thu Dec 19 10:04:33 2019 +0100 @@ -6,10 +6,12 @@ Unfortunately there's more Eclipse internals involved when dealing with cross platform issues. It turns out that the correct JRE_CONTAINER for Linux and Windows is + :::shell org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk but that doesn't work for Mac where it needs to be like this: + :::shell org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.launching.macosx.MacOSXType/jdk So for real cross platform project files you need to put the launcher type into a property and override that in a mac specific profile. The final pom will look similar to this