Community
Participate
Working Groups
Exporting stem.products causes the following error: "Unable to find feature: org.eclipse.equinox.executable" Adding the Eclipse Delta Pack for 3.6 to the target platform fixes this, but the exported STEM version is not usable. It's possible to create a STEM-project, but when clicking on a button to create a STEM-component (DiseaseModel, PopulationModel, ...) nothing happens.
Hi Chris, Do you get a stack trace (in the Error Log) after clicking the buttons?
Created attachment 209779 [details] Error log
Comment on attachment 209779 [details] Error log Here is the error log from my home computer (windows 7 64 bit).
Heh. That's lovely. An unresolved compilation error like this should've produced an error log when the Eclipse Product export finished. Could you check for it and attach too? I think this is a Java 5/6 compliance issue. The unresolved compilation error is a @override annotation on an interface method. I don't think this was supported in Java 5. Forcing the compiler to use 6 compliance should fix it. Also could you try adding the following lines to org.eclipse.stem.ui/build.properties then try re-exporting: javacSource=1.6 javacTarget=1.6 If that doesn't work, in org.eclipse.stem.ui/META-INF/MANIFEST.MF, change the Bundle-RequiredExecutionEnvironment from "J2SE-1.5" to "JavaSE-1.6"
Created attachment 209826 [details] Built logs Hi Matt, Now it works. I did several things. I have set the Bundle-RequiredExecutionEnvironment to 1.6 and in the project properties I changed the JRE in the build path from 1.5 to 1.6. I can open the wizards now, but it still says that error occured during the product export. A stack trace is not available, but I attached the build logs.
Excellent. Thanks Chris. Same issue in those logs. I committed manifest changes for: org.eclipse.stem.ui.diseasemodels.multipopulation org.eclipse.stem.ui.foodproduction org.eclipse.stem.ui.populationmodels org.eclipse.stem.ui to change min execution environment from 5 to 6 to reflect the Java 6-specific code in those plugins. Can you update and try again? Thanks
No errors occur anymore. Thanks Matt