Hi,
I try recently the graphic SWT / JFace library.
I use the JFace TreeViewer as it is described in this IBM's article:
http://www-106.ibm.com/developerworks/opensource/library/os-ecgui1/
I have two problems :
1. they give 5 jar files to include, but I find only 4 files. Indeed the
directory ..../eclipse/plugins/org.eclipse.runtime_2.1.0 does not exist!
Has anybody this directory?
2. The missing .jar file does not prevent me from compiling their TreeViewer
example, but during the execution, I obtain the following error:
java.lang.NoClassDefFoundError:
org/eclipse/core/internal/boot/DelegatingURLClassLoader
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at
org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:
1271)
at
org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeView
er.java:320)
at
org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:3
03)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at
org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeView
er.java:289)
at
org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:7
29)
at
org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredVie
wer.java:801)
at
org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer
.java:721)
at
org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:238)
at
org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:99
1)
at TestJFace.createContents(TestJFace.java:21)
at org.eclipse.jface.window.Window.create(Window.java:302)
at org.eclipse.jface.window.Window.open(Window.java:552)
at TestJFace.main(TestJFace.java:32)
Exception in thread "main"
Nevertheless, my program is exactly written like in the IBM's example, an
idee? I don't find the class DelegatingURLClassLoader !!!
Thanks
CABA
Andreas Schmidt - 21 Nov 2003 00:08 GMT
> Hi,
>
[quoted text clipped - 3 lines]
>
> I have two problems :
As noone is answering here, I think you should ask in one of the the
news.eclipse.org newsgroups...
Andi
Yvon Thoraval - 21 Nov 2003 07:47 GMT
> As noone is answering here, I think you should ask in one of the the
> news.eclipse.org newsgroups...
I'm also interested however the server asks for a username-pwd...
how could i get one ?

Signature
Yvon Thoraval
Yvon Thoraval - 21 Nov 2003 08:24 GMT
> I'm also interested however the server asks for a username-pwd...
> how could i get one ?
i found it...

Signature
Yvon Thoraval
talkabout - 09 Jan 2004 16:34 GMT
Caba
I faced the same problem. Have you got the answer ?
Luciano
sinar-g - 12 Jan 2004 12:55 GMT
yup
you have to include eclipse/plugins/org.eclipse.core.boot_x.y.z/boot.jar in your classpath
gorm
CABA - 12 Jan 2004 15:05 GMT
Yes,
You have to include this five .jar files :
- boot.jar : org.eclipse.core.boot_2.1.2
- jface.jar : org.eclipse.jface_2.1.1
- runtime.jar : org.eclipse.core.runtime_2.1.1
- swt.jar : org.eclipse.swt.win32_2.1.2
- ui.jar : org.eclipse.ui_2.1.1
CABA
> Caba
>
> I faced the same problem. Have you got the answer ?
>
> Luciano