Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Example SQL Editor from "The Java Developers Guide to Eclipse" does not work
Example SQL Editor from "The Java Developers Guide to Eclipse" does not work [message #119417] Fri, 29 August 2003 18:46 Go to next message
Eclipse UserFriend
Originally posted by: j.warmer.klasse.nl

Hi all,

We have been trying to run the SQL Editor example from the book "The
Java Developers Guide to Eclipse" . It failed to run under our update
Eclipsed 2.0 version. To be sure we installed the Eclipse version that
is on the CD that comes with the book. We keep having the same
problem. Whenever we create an SQL file (with extension .sql) the PDE
runtime eclipse complains with the popup message

unable to create part: a.sql

In the error log we get:

Unable to create editor contributor: com.ibm.lab.soln.sqleditor.editor
Reason:
Plug-in "com.ibm.lab.soln.SQLEditor" was unable to instantiate class
"com.ibm.lab.soln.sqleditor.SQLEditorContributor".

The class mentioned exists in the SQLEditor project.

Did anyone get this example to work ? I have looked for a support
site for the book but cannot find any.

Jos Warmer
jos.warmer@xs4all.nl

PS: The code of the SQL editor also refences the property file
"com.ibm.lab.soln.sqleditor.SQLEditorPluginResources". This isno't
available at the CDROM.
Re: Example SQL Editor from "The Java Developers Guide to Eclipse" does not work [message #119444 is a reply to message #119417] Fri, 29 August 2003 19:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: paull.NOSPAMcodetelligence.com

You need to add the property file or hack the code to ignore a missing one
( I believe it will work with an empty property file - just with incorrect
menu labels, etc.). The book is good, but they seem to have forgotten a
number of property files on the CD.

Paul

"Jos Warmer" <j.warmer@klasse.nl> wrote in message
news:or7vkvkto17clvdrkqtr0shhp4eoc2qc00@4ax.com...
> Hi all,
>
> We have been trying to run the SQL Editor example from the book "The
> Java Developers Guide to Eclipse" . It failed to run under our update
> Eclipsed 2.0 version. To be sure we installed the Eclipse version that
> is on the CD that comes with the book. We keep having the same
> problem. Whenever we create an SQL file (with extension .sql) the PDE
> runtime eclipse complains with the popup message
>
> unable to create part: a.sql
>
> In the error log we get:
>
> Unable to create editor contributor: com.ibm.lab.soln.sqleditor.editor
> Reason:
> Plug-in "com.ibm.lab.soln.SQLEditor" was unable to instantiate class
> "com.ibm.lab.soln.sqleditor.SQLEditorContributor".
>
> The class mentioned exists in the SQLEditor project.
>
> Did anyone get this example to work ? I have looked for a support
> site for the book but cannot find any.
>
> Jos Warmer
> jos.warmer@xs4all.nl
>
> PS: The code of the SQL editor also refences the property file
> "com.ibm.lab.soln.sqleditor.SQLEditorPluginResources". This isno't
> available at the CDROM.
Re: Example SQL Editor from "The Java Developers Guide to Eclipse" does not work [message #119504 is a reply to message #119444] Fri, 29 August 2003 20:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.guide.removeMe.andMeToo.earthlink.net

FYI... This message also describes the same workaround:
http://dev.eclipse.org/newslists/news.eclipse.platform/msg04 701.html and
I've asked Scott to comment if necessary. If you find other omissions, we'd
appreciate if you would let us know. The publisher doesn't have a website
for collecting errata but you're welcome to 'reply to sender' to this
message (it should be "eclipse.guide at removeMe.andMeToo.earthlink.net").
We'll then correct it on subsequent printings.

Thanks, Dan

------------------------------------
co-author "The Java Developer's Guide to Eclipse"
http://www.amazon.com/exec/obidos/ASIN/0321159640


"Paul L" <paull@NOSPAMcodetelligence.com> wrote in message
news:bioaer$fk1$1@eclipse.org...
> You need to add the property file or hack the code to ignore a missing one
> ( I believe it will work with an empty property file - just with incorrect
> menu labels, etc.). The book is good, but they seem to have forgotten a
> number of property files on the CD.
>
> Paul
>
> "Jos Warmer" <j.warmer@klasse.nl> wrote in message
> news:or7vkvkto17clvdrkqtr0shhp4eoc2qc00@4ax.com...
> > Hi all,
> >
> > We have been trying to run the SQL Editor example from the book "The
> > Java Developers Guide to Eclipse" . It failed to run under our update
> > Eclipsed 2.0 version. To be sure we installed the Eclipse version that
> > is on the CD that comes with the book. We keep having the same
> > problem. Whenever we create an SQL file (with extension .sql) the PDE
> > runtime eclipse complains with the popup message
> >
> > unable to create part: a.sql
> >
> > In the error log we get:
> >
> > Unable to create editor contributor: com.ibm.lab.soln.sqleditor.editor
> > Reason:
> > Plug-in "com.ibm.lab.soln.SQLEditor" was unable to instantiate class
> > "com.ibm.lab.soln.sqleditor.SQLEditorContributor".
> >
> > The class mentioned exists in the SQLEditor project.
> >
> > Did anyone get this example to work ? I have looked for a support
> > site for the book but cannot find any.
> >
> > Jos Warmer
> > jos.warmer@xs4all.nl
> >
> > PS: The code of the SQL editor also refences the property file
> > "com.ibm.lab.soln.sqleditor.SQLEditorPluginResources". This isno't
> > available at the CDROM.
>
>
Re: Example SQL Editor from "The Java Developers Guide to Eclipse" does not work [message #119842 is a reply to message #119504] Sun, 31 August 2003 20:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: j.warmer.klasse.nl

Dan,

Thanks,

I added the properties file and the SQL Editor now works with both the
Eclipse 2.0 and the 2.1.1 version. We'll continue reading the book
....

Jos

PS: If you need a website to put the missing resource files, I'd be
happy to put them on a page on our website.


jos.warmer@xs4all.nl

On Fri, 29 Aug 2003 16:24:15 -0400, "Dan Kehn"
<eclipse.guide@removeMe.andMeToo.earthlink.net> wrote:

>FYI... This message also describes the same workaround:
> http://dev.eclipse.org/newslists/news.eclipse.platform/msg04 701.html and
>I've asked Scott to comment if necessary. If you find other omissions, we'd
>appreciate if you would let us know. The publisher doesn't have a website
>for collecting errata but you're welcome to 'reply to sender' to this
>message (it should be "eclipse.guide at removeMe.andMeToo.earthlink.net").
>We'll then correct it on subsequent printings.
>
>Thanks, Dan
>
>------------------------------------
>co-author "The Java Developer's Guide to Eclipse"
>http://www.amazon.com/exec/obidos/ASIN/0321159640
>
>
>"Paul L" <paull@NOSPAMcodetelligence.com> wrote in message
>news:bioaer$fk1$1@eclipse.org...
>> You need to add the property file or hack the code to ignore a missing one
>> ( I believe it will work with an empty property file - just with incorrect
>> menu labels, etc.). The book is good, but they seem to have forgotten a
>> number of property files on the CD.
>>
>> Paul
>>
>> "Jos Warmer" <j.warmer@klasse.nl> wrote in message
>> news:or7vkvkto17clvdrkqtr0shhp4eoc2qc00@4ax.com...
>> > Hi all,
>> >
>> > We have been trying to run the SQL Editor example from the book "The
>> > Java Developers Guide to Eclipse" . It failed to run under our update
>> > Eclipsed 2.0 version. To be sure we installed the Eclipse version that
>> > is on the CD that comes with the book. We keep having the same
>> > problem. Whenever we create an SQL file (with extension .sql) the PDE
>> > runtime eclipse complains with the popup message
>> >
>> > unable to create part: a.sql
>> >
>> > In the error log we get:
>> >
>> > Unable to create editor contributor: com.ibm.lab.soln.sqleditor.editor
>> > Reason:
>> > Plug-in "com.ibm.lab.soln.SQLEditor" was unable to instantiate class
>> > "com.ibm.lab.soln.sqleditor.SQLEditorContributor".
>> >
>> > The class mentioned exists in the SQLEditor project.
>> >
>> > Did anyone get this example to work ? I have looked for a support
>> > site for the book but cannot find any.
>> >
>> > Jos Warmer
>> > jos.warmer@xs4all.nl
>> >
>> > PS: The code of the SQL editor also refences the property file
>> > "com.ibm.lab.soln.sqleditor.SQLEditorPluginResources". This isno't
>> > available at the CDROM.
>>
>>
>
Re: Example SQL Editor from "The Java Developers Guide to Eclipse" does not work [message #120477 is a reply to message #119842] Tue, 02 September 2003 15:17 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.guide.removeMe.andMeToo.earthlink.net

Jos,

Glad to hear and thanks for the offer. I'm going to bug our publisher to
give us some webspace. :-)

-- Dan

----------------------------------------------------------
co-author of "The Java Developer's Guide to Eclipse"
http://www.amazon.com/exec/obidos/ASIN/0321159640


"Jos Warmer" <j.warmer@klasse.nl> wrote in message
news:tfn4lv8arm6imk25vpjgiqukr1itbupc1i@4ax.com...
> Dan,
>
> Thanks,
>
> I added the properties file and the SQL Editor now works with both the
> Eclipse 2.0 and the 2.1.1 version. We'll continue reading the book
> ...
>
> Jos
>
> PS: If you need a website to put the missing resource files, I'd be
> happy to put them on a page on our website.
Previous Topic:Connect to CVS Server on Linux using Kerberos from Windows
Next Topic:PDE/ANT: Create Ant Build File error in 2.1.1?
Goto Forum:
  


Current Time: Thu Dec 26 11:20:15 GMT 2024

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

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

Back to the top