on Jun 18th, 2010Forums enabled
Earlier today we enabled forums on the Eclipse RCP book site. This is a great place for readers to find out about issues with the text or the sample code as well as ask questions of the authors and other readers.
Earlier today we enabled forums on the Eclipse RCP book site. This is a great place for readers to find out about issues with the text or the sample code as well as ask questions of the authors and other readers.
Hi
Chpater 10 of the 2nd edition.
Using the remote Smack server, I get a 401 returned from con.login. Searching suggests that this is a login failure. If correct, I assume that either the id (reader) or password (secret) have changed.
I’m using a jUnit4 test, but I assume this is not an issue.
I guess I will follow your suggestion and download a local copy, but it would be nice to resolve this.
Thanks in advance, John
PLEASE FIX THE SOURCE CODE DOWNLOAD FACILITY. “http://eclipsercp.org” DOES NOT FUNCTION AS AN ECLIPSE DOWNLOAD SITE (nor does “http://eclipsercp.org/download”)
THE ALTERNATIVE LINK TO DOWNLOAD THE FILES DIRECTLY IS ALSO BROKEN.
FROM COMMENTS I SEE IN THE FORUMS… THIS HAS BEEN THE CASE FOR ABOUT A MONTH.
SURE MAKES YOU LOOK BAD.
EXTREMELY FRUSTRATING.
NO GOOD WAY FOUND TO CONTACT SITE ADMIN.
NO DIRECT EMAIL TO ANY KIND OF HELP.
EXTREMELY FRUSTRATING.
Hey Greg. Can you try this again? http://eclipsercp.org has been working fine for people as an Eclipse Software Site. Perhaps there is a firewall or proxy issue? Thanks for pointing out the repo zip download URL was wrong. Actually the file on the server was misspelled. Fixed that.
Thanks for the really great book.
I found a bug in the 2nd edition in chapter 12.5 Keys Preference Page
The plugin.xml code snippet should look like this:
<extension point=”org.eclipse.ui.preferencePages”>
<page
class=”org.eclipse.ui.ExtensionFactory:keysPreferencePage”
…
/>
</extension>
You can also use a “new” key preference page. It has the id “newKeysPreferencePage”.
Udo
From chapter 5 onwards, there is supposed to be a view added, but it doesn’t appear for me. I’m running Eclipse 3.5.2 (Gallilea SR2), as required by the book. It runs on Windows XP. All I’m doing is loading the examples from each chapter, after installing the Samples Manager. Has anyone else seen this problem?
Reading the Second Edition, Chapter 3, page 37 talks about a “Load Target” button on the Samples Manager or from the RCP Book menu. I have the “RCP Book” menu and Samples Manager loaded and running, but I don’t see anything that looks like a “Load Target” button anywhere. Running Eclipse 3.5.1.
@Frecklefoot
The “Load Target” menuitem resides in ‘RCP Book Samples Manager” view’s menu.
@ John Ormerod
Do you managed to make it to work?
I am experiencing the same 401 issue. What can I do against this?
The (excerpt) error stacktrace is:
(401)
at org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:78)
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:404)
at smack.testing.Application.start(Application.java:35)
Regards
Toni
good book. but missing code for Chapter 22 .where can i get the sample for chapter 22
Just started the second edition (did the first edition may years ago)
I downloaded the Samples manager as described, and the view comes up with the chapters, but I don’t see a RCP Book–>Load Target option. Did I miss something?
I can’t register for the forum either, but that is a known problem, although it’s been a few months…
See http://eclipsercp.org/forums/viewtopic.php?f=2&t=27 for more info on the Load Target workflow. Hopefully it works for you.
As for the forum, it sucks but the spammers were just out of control and the phpbb spam controls and new registration protection just does not work (or we don’t know how to set it up).
I am trying the 2nd Edition on Indigo and following the steps on chapter 14 Adding Software Management, and after creating the feature project in the About Dialog doesn’t appear the information regarding Hyperbola Feature, neither in the tab Installed Software of Installation Details Dialog…
Also, when I select Installation History I get “An internal error occurred during: “Fetching Elements”. java.lang.NullPointerException”
The Samples manager that I downloaded is targetted to Galileo release, wasn’t it updated to Indigo or did I downloaded the wrong version???
Regards
I bought the first edition of this book several years ago. So I was shocked to find the code in the 2nd edition, published 2010, is still at Java 1.4 level, now 3 releases behind and 8 years out of date! And if you try to use Eclipse’s incomplete “Quick fix” tool to update it to 1.6, it usually fails or just does nothing. And anyway, when you use the source code plugin, each time you use it to set the code to the next chapter, it forces it back to 1.4. After a few times that loop gets old very quickly. I gave up in frustration and went back to pure SWT. I have heard that RCP is changing again in Eclipse 4, so maybe it’s for the best…