DevBoost / EMFText

EMFText is an Eclipse plug-in that allows you to define text syntax for languages described by an Ecore metamodel. EMFText enables developers to define textual Domain Specific Languages quickly and without the need to learn new technologies and concepts.
14 stars 12 forks source link

org.emftext.commons.antlr3_4_0 requires JavaSE-1.6, this breaks java 1.5 compliance #32

Closed rolftheunissen closed 11 years ago

rolftheunissen commented 11 years ago

The plugin org.emftext.commons.antlr3_4_0 that is released on the updatesite (update_trunk) requires the execution environment JavaSE-1.6 in the manifest file. This breaks java 1.5 compliance.

When the required execution environment is chanted to JavaSE-1.5 the plugin is java 1.5 compliant (without further code changes)

mirkoseifert commented 11 years ago

You can set the option 'overrideAntlrPlugin' to 'false' to keep the (changed) execution environment. Does that help?

rolftheunissen commented 11 years ago

Indeed this helps, first generate the antlr project, then change the java version, and keep the changed plugin to get java 1.5 compliance. However, if u want to be java 1.5 compliant, I expect that the plugin as provided on the update site should be java 1.5 compliant.

mirkoseifert commented 11 years ago

Since Eclipse is on Java 6 for a while now, we do the same and user Java 6 a minimum execution environment. For anyone else, the workaround should be feasible.

rolftheunissen commented 11 years ago

Java 6 is indeed recommended for Eclipse, but it is not required. See the link below for the versions of java that are required by each plugin:

http://www.eclipse.org/eclipse/development/readme_eclipse_4.3.html#Appendix1