Getting Logic example to work in Eclipse 2.1.2 [message #121801] |
Thu, 11 March 2004 08:37  |
Eclipse User |
|
|
|
Originally posted by: user.domain.invalid
Hello group,
I've been trying to get logic example to work. I've created a new
plug-in project and then copied logic example sources into that project
and also copied plugin.xml and plugin.properties. Everything compiles
just fine (at least it seems so). The problem occurs when I launch
run-time workbench and try to create a new logic diagram.
The logic diagram wizard is launched and the name of the new diagram is
asked. When I give them and try to get the new diagram generated the
runtime panel at the host eclipse says that uncaught exception has been
thrown. The details are: ClassNotFoundException. That's all, nothing
more. Any guesses?
Something is obviously wrong. Is it just me or is this a general
problem? Is is allowed to just copy the source files into existing
plug-in project? I'm working on Windows and my Eclipse (and gef too)
version is 2.1.2.
All suggestions are highly appreciated.
Regards, Pekka
|
|
|
Re: Getting Logic example to work in Eclipse 2.1.2 [message #121827 is a reply to message #121801] |
Thu, 11 March 2004 09:33   |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
<user@domain.invalid> wrote in message news:c2ppsa$t9c$1@eclipse.org...
> Hello group,
>
> I've been trying to get logic example to work. I've created a new
> plug-in project and then copied logic example sources into that project
> and also copied plugin.xml and plugin.properties. Everything compiles
> just fine (at least it seems so). The problem occurs when I launch
> run-time workbench and try to create a new logic diagram.
>
Why didn't you just download
http://download.eclipse.org/tools/gef/downloads/drops/R-2.1. 2-200310151343/GEF-examples-I20031015.zip
and unzip it into your eclipse directory - then you could just create a
simple project, example, etc, without running a run-time workbench. If you
want to view/modify the source, then simply right click, Import->External
Plug-ins and Fragments->make sure the box is checked to bring in the source
files, and then choose the logic example plug-in from the list of all your
plug-ins. Another option is to simply download the version you want from
CVS, and this will automatically create a project with the source for you.
> The logic diagram wizard is launched and the name of the new diagram is
> asked. When I give them and try to get the new diagram generated the
> runtime panel at the host eclipse says that uncaught exception has been
> thrown. The details are: ClassNotFoundException. That's all, nothing
> more. Any guesses?
>
There is probably more details in the .log file of your run-time workbench
workspace .metadata directory.
|
|
|
|
Re: Getting Logic example to work in Eclipse 2.1.2 [message #121973 is a reply to message #121840] |
Fri, 12 March 2004 05:50  |
Eclipse User |
|
|
|
Originally posted by: user.domain.invalid
Thank you Brian and Whitney. Finally I got it to work.
Cheers, Pekka
Brian Fernandes wrote:
> Hi Pekka,
>
> Don't create a plugin project for logic yourself.
>
> Download the GEF examples - they have both features and plugins folders and
> unzip these into your eclipse installtion directory - just like you were
> installing a normal plugin. Then import the Logic plugin into your
> workspace. Since the source is included with the plugin - you will be able
> to browse the source of the Logic plugin - even when you edit the class
> files, but you won't be able to modify the source.
>
> You will be able to create logic files in your basic workbench and if you
> launch a runtime workbench , Logic will be included in the runtime workbench
> too. You can place breakpoints in the Logic source in order to understand it
> better.
>
> Ask again if you're still having problems,
>
> Brian.
>
> <user@domain.invalid> wrote in message news:c2ppsa$t9c$1@eclipse.org...
>
>>Hello group,
>>
>>I've been trying to get logic example to work. I've created a new
>>plug-in project and then copied logic example sources into that project
>>and also copied plugin.xml and plugin.properties. Everything compiles
>>just fine (at least it seems so). The problem occurs when I launch
>>run-time workbench and try to create a new logic diagram.
>>
>>The logic diagram wizard is launched and the name of the new diagram is
>>asked. When I give them and try to get the new diagram generated the
>>runtime panel at the host eclipse says that uncaught exception has been
>>thrown. The details are: ClassNotFoundException. That's all, nothing
>>more. Any guesses?
>>
>>Something is obviously wrong. Is it just me or is this a general
>>problem? Is is allowed to just copy the source files into existing
>>plug-in project? I'm working on Windows and my Eclipse (and gef too)
>>version is 2.1.2.
>>
>>All suggestions are highly appreciated.
>>
>>Regards, Pekka
>>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03318 seconds