| [news.eclipse.technology.ohf] Re: STEM integration Mac |
Vincent,
That is great. Thank you for pursuing this.
Sorry that we were not of much help. Dan is on a business trip in France and I am on vacation in Montana. And we are woefully inadequate when it comes to MacOS. We almost bought a Mac recently for my wife's movie editing hobby and now I wish we had. I wish eclipse ran on an IPhone so I could justify buying one of those. :-)
I will update the Installation guide on the OHF Wiki to indicate that for MacOS, one should install Java 1.6.
I guess that there are also some needed changes to the product file to pick up the various macos unique files. Could you send me your MacOS version of stem.product?
Vincent
Thanks again.
Vincent David wrote:yay,
I made it. It appears that they're issues regarding the integration of swt under MacOsX. These can be solved by either patching JavaSDK 1.5 or switching entirely to JavaSDK 1.6.
After doing latter and instructing Eclipse to use the new version in Preferences->Compiler everything runs nice and smooth.
I will hence close the related bug-report and in case you guys are interested in any further information to update your installation procedures just let me know.
Furhert information can be found on developer.apple.com:
http://adcdownload.apple.com/Java/swt_compatibility_libraries_for_j2se_5.0_release_4/swtcompatibilityreadme.html
and
http://adcdownload.apple.com/Java/java_se_6.0_release_1_developer_preview_6/javase6r1dp6releasenotes.html
although I think you need an account to access these sites.
cheers
Vincent
Vincent David schrieb:Hi,
since it's kind of quit around here I will try to help myself and let you know! :)
Soooo, my plan is now to check out a the gtk-engine instead of the standard MacOsX carbon engine. I figure since I'm dealing with ui problems here and know, that they don't appear under Linux using gtk this might be a good idea.
Furthermore I'm aware of other product such as Matlab from Mathworks, which take this track (also Java-based).
Looking forward to a flourishing discussion regarding my home-grown problems. ;-)
Vincent
Vincent David schrieb:I'm migrating this discussion from the [ohf-dev] mailing-list, where I have discussed problems getting STEM running under MacOsX. After some initial problems integrating STEM with the SWT I'am able to start stem.ui for test purposes in the mean time.
However, it appears that although the simulation runs in the background the ui doesn't refresh properly.
Dan: Your suggestion to turn up the cycle delay in the preference pane hasn't worked - same situation. Also exporting stem.ui instead of running it as RCP results in the same problems.
I have attached the stem.iu error log for further insight. There
appears to be I considerable amount of errors logged here although I
have to admit that I can hardly make sense out of half of them.
Perhaps someone (Dan?), who's deeper into the project might understand more.
thx
Vincent
BTW: How far should X11 help? I'm under the impression, that it makes a difference, if it's on or not (although using swt.carbon), but I would need to check.
<?xml version="1.0" encoding="UTF-8"?>
<?pde version="3.1"?>
<product name="STEM (Incubation)" id="org.eclipse.ohf.stem.ui.product" application="org.eclipse.ohf.stem.ui.CoreEditorAdvisorApplication" useFeatures="false">
<aboutInfo>
<image path="/org.eclipse.ohf.stem.ui/branding/ohf64_64_32.gif"/>
<text>
OHF Spatio-Temporal Epidemological/Event Modeler (STEM)
</text>
</aboutInfo>
<configIni use="custom" path="plugin_customization.ini"/>
<launcherArgs>
<programArgs>-debug -consoleLog</programArgs>
<vmArgs>-Xms512M -Xmx512M</vmArgs>
</launcherArgs>
<windowImages i16="/org.eclipse.ohf.stem.ui/branding/ohf16_16_32.gif" i32="/org.eclipse.ohf.stem.ui/branding/ohf32_32_32.gif" i48="/org.eclipse.ohf.stem.ui/branding/ohf48_48_32.gif" i64="/org.eclipse.ohf.stem.ui/branding/ohf64_64_32.gif" i128="/org.eclipse.ohf.stem.ui/branding/ohf128_128_32.gif"/>
<splash
location="org.eclipse.ohf.stem.ui"
startupProgressRect="0,413,431,15"
startupMessageRect="10,380,431,20"
startupForegroundColor="FFFFFF" />
<launcher name="STEM">
<solaris/>
<win useIco="false">
<bmp
winSmallLow="/org.eclipse.ohf.stem.ui/branding/ohf16_16_8.bmp"
winMediumLow="/org.eclipse.ohf.stem.ui/branding/ohf32_32_8.bmp"
winLargeLow="/org.eclipse.ohf.stem.ui/branding/ohf48_48_8.bmp"/>
</win>
</launcher>
<vm>
</vm>
<plugins>
<plugin id="com.ibm.icu"/>
<plugin id="com.lowagie.itext"/>
<plugin id="javax.servlet"/>
<plugin id="javax.servlet.jsp"/>
<plugin id="org.apache.ant"/>
<plugin id="org.apache.batik.pdf"/>
<plugin id="org.apache.commons.codec"/>
<plugin id="org.apache.commons.el"/>
<plugin id="org.apache.commons.logging"/>
<plugin id="org.apache.jasper"/>
<plugin id="org.apache.lucene"/>
<plugin id="org.apache.lucene.analysis"/>
<plugin id="org.apache.xerces"/>
<plugin id="org.apache.xml.resolver"/>
<plugin id="org.eclipse.ant.core"/>
<plugin id="org.eclipse.birt.chart.device.extension"/>
<plugin id="org.eclipse.birt.chart.device.svg"/>
<plugin id="org.eclipse.birt.chart.device.swt"/>
<plugin id="org.eclipse.birt.chart.engine"/>
<plugin id="org.eclipse.birt.chart.engine.extension"/>
<plugin id="org.eclipse.birt.chart.ui"/>
<plugin id="org.eclipse.birt.chart.ui.extension"/>
<plugin id="org.eclipse.birt.core"/>
<plugin id="org.eclipse.birt.core.ui"/>
<plugin id="org.eclipse.core.commands"/>
<plugin id="org.eclipse.core.contenttype"/>
<plugin id="org.eclipse.core.databinding"/>
<plugin id="org.eclipse.core.expressions"/>
<plugin id="org.eclipse.core.filesystem"/>
<plugin id="org.eclipse.core.filesystem.macosx" fragment="true"/>
<plugin id="org.eclipse.core.filesystem.win32.x86"/>
<plugin id="org.eclipse.core.jobs"/>
<plugin id="org.eclipse.core.net"/>
<plugin id="org.eclipse.core.resources"/>
<plugin id="org.eclipse.core.resources.compatibility" fragment="true"/>
<plugin id="org.eclipse.core.resources.win32"/>
<plugin id="org.eclipse.core.runtime"/>
<plugin id="org.eclipse.core.runtime.compatibility.auth"/>
<plugin id="org.eclipse.core.runtime.compatibility.registry" fragment="true"/>
<plugin id="org.eclipse.core.variables"/>
<plugin id="org.eclipse.emf.common"/>
<plugin id="org.eclipse.emf.common.ui"/>
<plugin id="org.eclipse.emf.ecore"/>
<plugin id="org.eclipse.emf.ecore.change"/>
<plugin id="org.eclipse.emf.ecore.xmi"/>
<plugin id="org.eclipse.emf.edit"/>
<plugin id="org.eclipse.emf.edit.ui"/>
<plugin id="org.eclipse.equinox.app"/>
<plugin id="org.eclipse.equinox.common"/>
<plugin id="org.eclipse.equinox.http.jetty"/>
<plugin id="org.eclipse.equinox.http.registry"/>
<plugin id="org.eclipse.equinox.http.servlet"/>
<plugin id="org.eclipse.equinox.jsp.jasper"/>
<plugin id="org.eclipse.equinox.jsp.jasper.registry"/>
<plugin id="org.eclipse.equinox.preferences"/>
<plugin id="org.eclipse.equinox.registry"/>
<plugin id="org.eclipse.help"/>
<plugin id="org.eclipse.help.appserver"/>
<plugin id="org.eclipse.help.base"/>
<plugin id="org.eclipse.help.ui"/>
<plugin id="org.eclipse.help.webapp"/>
<plugin id="org.eclipse.jdt.compiler.apt" fragment="true"/>
<plugin id="org.eclipse.jdt.compiler.tool" fragment="true"/>
<plugin id="org.eclipse.jdt.core"/>
<plugin id="org.eclipse.jface"/>
<plugin id="org.eclipse.jface.databinding"/>
<plugin id="org.eclipse.jface.text"/>
<plugin id="org.eclipse.ohf.stem.core"/>
<plugin id="org.eclipse.ohf.stem.definitions"/>
<plugin id="org.eclipse.ohf.stem.diseasemodels"/>
<plugin id="org.eclipse.ohf.stem.diseases"/>
<plugin id="org.eclipse.ohf.stem.geography"/>
<plugin id="org.eclipse.ohf.stem.jobs"/>
<plugin id="org.eclipse.ohf.stem.jobs.nl1" fragment="true"/>
<plugin id="org.eclipse.ohf.stem.sequencers"/>
<plugin id="org.eclipse.ohf.stem.ui"/>
<plugin id="org.eclipse.ohf.stem.ui.diseasemodels"/>
<plugin id="org.eclipse.ohf.stem.ui.ge"/>
<plugin id="org.eclipse.ohf.stem.ui.nl1" fragment="true"/>
<plugin id="org.eclipse.osgi"/>
<plugin id="org.eclipse.osgi.services"/>
<plugin id="org.eclipse.osgi.util"/>
<plugin id="org.eclipse.pde.runtime"/>
<plugin id="org.eclipse.swt"/>
<plugin id="org.eclipse.swt.carbon.macosx" fragment="true"/>
<plugin id="org.eclipse.swt.gtk.linux.x86" fragment="true"/>
<plugin id="org.eclipse.swt.win32.win32.x86"/>
<plugin id="org.eclipse.team.core"/>
<plugin id="org.eclipse.text"/>
<plugin id="org.eclipse.tomcat"/>
<plugin id="org.eclipse.ui"/>
<plugin id="org.eclipse.ui.carbon" fragment="true"/>
<plugin id="org.eclipse.ui.forms"/>
<plugin id="org.eclipse.ui.ide"/>
<plugin id="org.eclipse.ui.views"/>
<plugin id="org.eclipse.ui.win32"/>
<plugin id="org.eclipse.ui.workbench"/>
<plugin id="org.eclipse.update.configurator"/>
<plugin id="org.eclipse.update.core"/>
<plugin id="org.eclipse.update.core.win32"/>
<plugin id="org.eclipse.update.ui"/>
<plugin id="org.eclipse.xsd"/>
<plugin id="org.junit"/>
<plugin id="org.mortbay.jetty"/>
<plugin id="org.mozilla.rhino"/>
<plugin id="org.w3c.dom"/>
</plugins>
</product>