Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Unable to run org.eclipse.birt.chart.examples.api.viewer.SwtChartViewerSelector
Unable to run org.eclipse.birt.chart.examples.api.viewer.SwtChartViewerSelector [message #103613] Tue, 03 January 2006 16:57 Go to next message
Eclipse UserFriend
Originally posted by: Marco.xxxxxxxxx.com

Hello,

I am using eclipse 3.1.1, birt 1.0.1, emf 2.1.1, gef 3.1.1 and have
downloaded
birt-sample-plugins-1_0_1.zip but I cannot get its
"SwtChartViewerSelector" to run. I get:

Jan 3, 2006 4:38:36 PM
org.eclipse.birt.core.framework.server.ServerPlatform <init>
WARNING: No plugins in BIRT_HOME:
/c:/Eclipse/3.1.1/eclipse/plugins/org.eclipse.birt.core_1.0. 1/, make sure
this directory is correct!
Jan 3, 2006 4:38:36 PM org.eclipse.birt.chart.log.impl.JavaUtilLoggerImpl
log
SEVERE: Exception
org.eclipse.birt.chart.exception.ChartException: Unable to locate any
entries for lookup=dv.SWT; element=(name:device) in any plugin.xml file in
all of the available plugins
at
org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObjec t(PluginSettings.java:675)
at
org.eclipse.birt.chart.util.PluginSettings.getDevice(PluginS ettings.java:338)
at
org.eclipse.birt.chart.examples.api.viewer.SwtChartViewerSel ector. <init>(SwtChartViewerSelector.java:153)
at
org.eclipse.birt.chart.examples.api.viewer.SwtChartViewerSel ector.main(SwtChartViewerSelector.java:76)
org.eclipse.birt.chart.exception.ChartException: Unable to locate any
entries for lookup=dv.SWT; element=(name:device) in any plugin.xml file in
all of the available plugins
at
org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObjec t(PluginSettings.java:675)
at
org.eclipse.birt.chart.util.PluginSettings.getDevice(PluginS ettings.java:338)
at
org.eclipse.birt.chart.examples.api.viewer.SwtChartViewerSel ector. <init>(SwtChartViewerSelector.java:153)
at
org.eclipse.birt.chart.examples.api.viewer.SwtChartViewerSel ector.main(SwtChartViewerSelector.java:76)
java.lang.UnsatisfiedLinkError: no swt-win32-3139 in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:12 3)
at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:125)
at
org.eclipse.birt.chart.examples.api.viewer.SwtChartViewerSel ector.main(SwtChartViewerSelector.java:80)


Can anybody help?

Thanks
Marco
Re: Unable to run org.eclipse.birt.chart.examples.api.viewer.SwtChartViewerSelector [message #103667 is a reply to message #103613] Tue, 03 January 2006 18:42 Go to previous messageGo to next message
David Michonneau is currently offline David MichonneauFriend
Messages: 1145
Registered: July 2009
Senior Member
Hi Marco,

You need to start the application with -DSTANDALONE. This will load the
original chart plugins, including the SWT renderer.

If you extend some chart plugins you can set -DBIRT_HOME=dir_name instead,
where dir_name\plugins\ contains the chart plugins and your extension
plugins.

Thanks,

David

"Marco" <Marco@xxxxxxxxx.com> wrote in message
news:c1471f7f29b991a8eae6dda686bb1157$1@www.eclipse.org...
> Hello,
>
> I am using eclipse 3.1.1, birt 1.0.1, emf 2.1.1, gef 3.1.1 and have
> downloaded
> birt-sample-plugins-1_0_1.zip but I cannot get its
> "SwtChartViewerSelector" to run. I get:
>
> Jan 3, 2006 4:38:36 PM
> org.eclipse.birt.core.framework.server.ServerPlatform <init>
> WARNING: No plugins in BIRT_HOME:
> /c:/Eclipse/3.1.1/eclipse/plugins/org.eclipse.birt.core_1.0. 1/, make sure
> this directory is correct!
> Jan 3, 2006 4:38:36 PM org.eclipse.birt.chart.log.impl.JavaUtilLoggerImpl
> log
> SEVERE: Exception
> org.eclipse.birt.chart.exception.ChartException: Unable to locate any
> entries for lookup=dv.SWT; element=(name:device) in any plugin.xml file in
> all of the available plugins
> at
> org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObjec t(PluginSettings.java:675)
> at
> org.eclipse.birt.chart.util.PluginSettings.getDevice(PluginS ettings.java:338)
> at
> org.eclipse.birt.chart.examples.api.viewer.SwtChartViewerSel ector. <init>(SwtChartViewerSelector.java:153)
> at
> org.eclipse.birt.chart.examples.api.viewer.SwtChartViewerSel ector.main(SwtChartViewerSelector.java:76)
> org.eclipse.birt.chart.exception.ChartException: Unable to locate any
> entries for lookup=dv.SWT; element=(name:device) in any plugin.xml file in
> all of the available plugins
> at
> org.eclipse.birt.chart.util.PluginSettings.getPluginXmlObjec t(PluginSettings.java:675)
> at
> org.eclipse.birt.chart.util.PluginSettings.getDevice(PluginS ettings.java:338)
> at
> org.eclipse.birt.chart.examples.api.viewer.SwtChartViewerSel ector. <init>(SwtChartViewerSelector.java:153)
> at
> org.eclipse.birt.chart.examples.api.viewer.SwtChartViewerSel ector.main(SwtChartViewerSelector.java:76)
> java.lang.UnsatisfiedLinkError: no swt-win32-3139 in java.library.path
> at java.lang.ClassLoader.loadLibrary(Unknown Source)
> at java.lang.Runtime.loadLibrary0(Unknown Source)
> at java.lang.System.loadLibrary(Unknown Source)
> at org.eclipse.swt.internal.Library.loadLibrary(Library.java:12 3)
> at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
> at org.eclipse.swt.widgets.Display.<clinit>(Display.java:125)
> at
> org.eclipse.birt.chart.examples.api.viewer.SwtChartViewerSel ector.main(SwtChartViewerSelector.java:80)
>
>
> Can anybody help?
>
> Thanks
> Marco
>
Re: Unable to run org.eclipse.birt.chart.examples.api.viewer.SwtChartViewerSelector [message #103811 is a reply to message #103667] Wed, 04 January 2006 09:19 Go to previous message
Eclipse UserFriend
Originally posted by: Marco.xxxxx.com

Thanks David. It works fine now.


Regards
Marco
Previous Topic:Help: supplying connection to BIRT
Next Topic:Hyperlink question
Goto Forum:
  


Current Time: Thu Dec 26 22:25:36 GMT 2024

Powered by FUDForum. Page generated in 0.03294 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top