Still problems to run MagicDraw with Eclipse on Linux

Discussions about integrations with other 3th party tools

Moderator: Moderators

Still problems to run MagicDraw with Eclipse on Linux

Postby Christian Groove » Sun Sep 08, 2002 8:09 am

Daer Sirs,

there are still problems to launch a MagicDraw out of Eclipse
using the magicdraw plugin. Unfortunately i am unable to use the
gtk-Version of Eclispe (since gtk2 needs lot of other libraries).

In the log-file of eclipse i found the context, that cause a
crash inside a linked Xt library. It looks like, that magicdraw
tries to find out, iff another MagicDraw acutally runs.
Maybe you could offer a solution, where the use may choose, if
a new instance can be created or an existing one is reused.
I would appeciate it, if i could use the integration asop.

Thanks
Christian


Current Java thread:
at sun.awt.motif.MWindowPeer.pCreate(Native Method)
at sun.awt.motif.MWindowPeer.create(MWindowPeer.java:79)
at sun.awt.motif.MComponentPeer.init(MComponentPeer.java:184)
at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:91)
at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:58)
at sun.awt.motif.MToolkit.createFrame(MToolkit.java:192)
at java.awt.Frame.addNotify(Frame.java:469)
- locked <0x452063a8> (a java.awt.Component$AWTTreeLock)
at java.awt.Window.addNotify(Window.java:390)
- locked <0x452063a8> (a java.awt.Component$AWTTreeLock)
at java.awt.Window.show(Window.java:433)
at java.awt.Component.show(Component.java:1128)
at java.awt.Component.setVisible(Component.java:1083)
at DrawingTool.i.v.<init>(v.java)
at DrawingTool.i.di.a(di.java)
at
com.nomagic.magicdraw.integrations.commonide.MDInitializer.isMagicDrawStarted(MDInitializer.java)
at
com.nomagic.magicdraw.integrations.eclipse.MDEclipsePlugin.<init>(MDEclipsePlugin.java)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at
org.eclipse.core.internal.plugins.PluginDescriptor.internalDoPluginActivation(PluginDescriptor.java:677)
at
org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:183)
- locked <0x447035a8> (a
org.eclipse.core.internal.plugins.PluginDescriptor)
at
org.eclipse.core.internal.plugins.PluginClassLoader.activatePlugin(PluginClassLoader.java:58)
at
org.eclipse.core.internal.plugins.PluginClassLoader.findClassParentsSelf(PluginClassLoader.java:136)
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:750)
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java:730)
at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
at
org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:127)
at
org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:164)
at
org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:102)
at
org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:116)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:66)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:113)
at
org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:84)
at
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:188)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:407)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:361)
at
org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:352)
at
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:47)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:853)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1683)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1506)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1256)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1239)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:775)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
at org.eclipse.core.launcher.Main.run(Main.java:703)
at org.eclipse.core.launcher.Main.main(Main.java:539)

Christian Groove
 
Posts Rating:

Re: Still problems to run MagicDraw with Eclipse on Linux

Postby Donatas Simkunas » Tue Sep 10, 2002 6:12 am

Hello,

We have no idea how to run motif eclipse and MagicDraw integration.
Eclipse uses its own motif library which is not compatible with library used
by java awt.

Best way is to use GTK version of eclipse, you can install GTK from sources.
--
Donatas Simkunas
Senior Programmer
No Magic Lithuanian Development Center
Phone: +370 37 325032 Fax: +370 37 320670
e-mail: donatas.simkunas
WWW: http://www.nomagic.com

Donatas Simkunas
 
Posts Rating:

Re: Still problems to run MagicDraw with Eclipse on Linux

Postby Christian Groove » Tue Sep 10, 2002 2:09 pm

Donatas Simkunas wrote:

> Hello,
>
> We have no idea how to run motif eclipse and MagicDraw integration.

Just disable the check, iff one instance MD is running. It looks like
that the call tries to access a non existing X11 ressource.

> Eclipse uses its own motif library which is not compatible with library

It uses a Motif-Version, that is binary compatible with OpenMotif.
You may change the DLL with the result, that the Splash-Window disapper,
but the rest is fully functional.

> used by java awt.
>
> Best way is to use GTK version of eclipse, you can install GTK from
> sources.

Ill have to wait for the next Linux-Distro, that comes with gtk2.
Unfortunately, gtk needs some other libs to run properly.


Christian Groove
 
Posts Rating:

Re: Still problems to run MagicDraw with Eclipse on Linux

Postby Donatas Simkunas » Wed Sep 11, 2002 6:21 am

Hello,

We can not disable this check because integration functionality uses this
check.
I am sure that even we code integration in other way there will be other
problems using motif version of eclipse.
There nothing wrong with this check since it works on all platforms except swt
based on motif. All we can do is to wait till swt developers solves problems
related to motif swt.

Best regards
--
Donatas Simkunas
Senior Programmer
No Magic Lithuanian Development Center
Phone: +370 37 325032 Fax: +370 37 320670
e-mail: donatas.simkunas
WWW: http://www.nomagic.com

Donatas Simkunas
 
Posts Rating:


Return to Integrations

Who is online

Users browsing this forum: No registered users and 1 guest

cron