| Summary: | Exporting of stem.product does not work | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Technology] STEM | Reporter: | Christian Thoens <christian.thoens> | ||||||
| Component: | Core | Assignee: | Matthew Davis <mattadav> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | mattadav | ||||||
| Version: | 1.3.0 | ||||||||
| Target Milestone: | 1.1.2 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Christian Thoens
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 |