Example SQL Editor from "The Java Developers Guide to Eclipse" does not work [message #119417] |
Fri, 29 August 2003 18:46 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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.
>>
>>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04786 seconds