Skip to content

Loading…

Add support for execution environments #39

Closed
ijuma opened this Issue · 2 comments

2 participants

@ijuma

Execution environments are the recommended way to configure the JRE/JDK used by Eclipse projects. As such, sbteclipse should support a way to do it and a SettingKey seems like the obvious approach.

@hseeberger

Implementation notes:

How do the other EEs look like?

@hseeberger

See http://www.google.com/codesearch#DZYSnccgpW4/launching/org/eclipse/jdt/internal/launching/environments/ExecutionEnvironmentAnalyzer.java&q=JavaSE-1.6%20package:org.eclipse.jdt%20case:yes&type=cs&l=38:

    private static final String JavaSE_1_7 = "JavaSE-1.7"; //$NON-NLS-1$
    private static final String JavaSE_1_6 = "JavaSE-1.6"; //$NON-NLS-1$
    private static final String J2SE_1_5 = "J2SE-1.5"; //$NON-NLS-1$
    private static final String J2SE_1_4 = "J2SE-1.4"; //$NON-NLS-1$
    private static final String J2SE_1_3 = "J2SE-1.3"; //$NON-NLS-1$
    private static final String J2SE_1_2 = "J2SE-1.2"; //$NON-NLS-1$
    private static final String JRE_1_1 = "JRE-1.1"; //$NON-NLS-1$

    private static final String CDC_FOUNDATION_1_1 = "CDC-1.1/Foundation-1.1"; //$NON-NLS-1$
    private static final String CDC_FOUNDATION_1_0 = "CDC-1.0/Foundation-1.0"; //$NON-NLS-1$

    private static final String OSGI_MINIMUM_1_0 = "OSGi/Minimum-1.0"; //$NON-NLS-1$
    private static final String OSGI_MINIMUM_1_1 = "OSGi/Minimum-1.1"; //$NON-NLS-1$
    private static final String OSGI_MINIMUM_1_2 = "OSGi/Minimum-1.2"; //$NON-NLS-1$
@hseeberger hseeberger pushed a commit that closed this issue
Heiko Seeberger closes #39: Add support for execution environments f9f18f9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.