Chapter 5 ListViewerExample eclipse 3.2

Tell us what you think about our book and report any errata. Sample chapters are available at http://www.qualityeclipse.com/

(Note: Previous Editions were called "Eclipse: Building Commercial Quality Plugins")

Moderators: Eric Clayberg, Dan Rubel

Chapter 5 ListViewerExample eclipse 3.2

Postby dfike » Sun Dec 03, 2006 9:12 am

I am adding this here because I did not see this referenced anywhere else in the forum.

In Chapter 5 of the second edition- page 193 lists 4 jar files that need to
be added to the java build path in order to run the JFace demos in a standalone manner.

If you are running eclipse 3.2 in order for the example to run you will also need to add org.eclipse.equinox.common to the build path.

Otherwise you will get the following error when you try to run the ListViewerExample:

Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/core/runtime/ISafeRunnable
at com.qualityeclipse.sample.ListViewerExample.main(ListViewerExample.java:29)

Many thanks to Remy Suen and Chris Gage for posting this information at
http://dev.eclipse.org/newslists/news.e ... llist.html
see Entries from November 19, 2006 under the topic:
Problem with JFace examples in Clayberg/Rubel Plugin Book second edition
dfike
 
Posts: 1
Joined: Sun Dec 03, 2006 8:53 am

Return to Book: Eclipse Plug-Ins (3rd Edition)

Who is online

Users browsing this forum: No registered users and 1 guest