Add support for execution environments #39

Closed
ijuma opened this Issue Oct 3, 2011 · 2 comments

Comments

Projects
None yet
2 participants
@ijuma

ijuma commented Oct 3, 2011

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

This comment has been minimized.

Show comment
Hide comment
@hseeberger

hseeberger Oct 28, 2011

Member

Implementation notes:

How do the other EEs look like?

Member

hseeberger commented Oct 28, 2011

Implementation notes:

How do the other EEs look like?

@hseeberger

This comment has been minimized.

Show comment
Hide comment
@hseeberger

hseeberger Nov 23, 2011

Member

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$
Member

hseeberger commented Nov 23, 2011

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$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment