Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Trouble with javaeditor example as run-time workbench.
Trouble with javaeditor example as run-time workbench. [message #56498] Fri, 30 May 2003 19:06 Go to next message
Eclipse UserFriend
Originally posted by: ephedrine.rogers.com

Hello,

I've read that the best way to develop plug-ins is to build them in the
workspace and them execute as run-time workspace to see their results in the
second workbench that appears. Taking to this idea, I've:

1. downloaded the javaeditor example
(org.eclipse.examples.ui.javaeditor_2.1.0) from the eclipse download page
http://download2.eclipse.org/downloads/drops/R-2.1-200303272 130/index.php

2. I've inside of eclipse created a project called
org.eclipse.examples.ui.javaeditor

3. Inside that project I've created a package with the same name

4. I've thereafter extracted the example source (available as
javaeditorexamplesrc.zip) into that package's directory.

5. Copied the plugin.xml file over to the base directory of that project in
the workspace.

Least to say it doesn't work. I must have done something wrong
somewhere along the way. The extension points seem to work since the editor
is available under the run-time workbench yet actually trying to edit the
file results in errors.

Help or guidance appreciated.
Thanks in advance.
Alex



--
Re: Trouble with javaeditor example as run-time workbench. [message #61079 is a reply to message #56498] Tue, 03 June 2003 17:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: debbie_wilson.ca.ibm.com

I think your problem was in the way you extracted the examples. You didn't
say which platform you were working on. I'm working with WinXP. Here are
the exact steps I followed to work with this example:
- from the download page you referenced below, pick the Eclipse SDK for my
platform (WinXP) and download/extract it into a directory on my machine
called d:/R2.1
- from the same download page, pick the Example Plug-ins for WinXP and
download/extract them to the same directory (d:/R2.1).

If you poke around under this directory structure you will find
D:\R2.1\eclipse\plugins\org.eclipse.ui.examples.javaeditor_2 .1.0 (the
example plugin you want to run).

Now you can do the following:
- bring up Eclipse
- create a project (I just created a Simple project and called it 'abc' )
- create a file in this project with a .jav suffix (I created 'file1.jav')
- follow the instructions in
D:\R2.1Data\eclipse\plugins\org.eclipse.ui.examples.javaedit or\doc-html\ui_j
avaeditor_ex.html and it appears to work (I have red multi-line comments,
teal javadoc comments, green strings embedded in some simple java code, blue
keywords in my java code - like 'public', etc.).

Does this help?

Deb


"Alexandre" <ephedrine@rogers.com> wrote in message
news:bb8a3t$9mp$1@rogue.oti.com...
> Hello,
>
> I've read that the best way to develop plug-ins is to build them in
the
> workspace and them execute as run-time workspace to see their results in
the
> second workbench that appears. Taking to this idea, I've:
>
> 1. downloaded the javaeditor example
> (org.eclipse.examples.ui.javaeditor_2.1.0) from the eclipse download page
> http://download2.eclipse.org/downloads/drops/R-2.1-200303272 130/index.php
>
> 2. I've inside of eclipse created a project called
> org.eclipse.examples.ui.javaeditor
>
> 3. Inside that project I've created a package with the same name
>
> 4. I've thereafter extracted the example source (available as
> javaeditorexamplesrc.zip) into that package's directory.
>
> 5. Copied the plugin.xml file over to the base directory of that project
in
> the workspace.
>
> Least to say it doesn't work. I must have done something wrong
> somewhere along the way. The extension points seem to work since the
editor
> is available under the run-time workbench yet actually trying to edit the
> file results in errors.
>
> Help or guidance appreciated.
> Thanks in advance.
> Alex
>
>
>
> --
>
>
>
Re: Trouble with javaeditor example as run-time workbench. [message #61225 is a reply to message #56498] Tue, 03 June 2003 18:41 Go to previous message
Eclipse UserFriend
Originally posted by: debbie_wilson.ca.ibm.com

Another thing you might want to look at (which you may already have seen) is
the help for examples:
Help->Help Contents
and then go to
Platform Plug-In Developer Guide -> Examples Guide

And if you want to know more about running Eclipse within Eclipse (also
known as self-hosting) see PDE Guide in the same documentation set.

Deb


"Alexandre" <ephedrine@rogers.com> wrote in message
news:bb8a3t$9mp$1@rogue.oti.com...
> Hello,
>
> I've read that the best way to develop plug-ins is to build them in
the
> workspace and them execute as run-time workspace to see their results in
the
> second workbench that appears. Taking to this idea, I've:
>
> 1. downloaded the javaeditor example
> (org.eclipse.examples.ui.javaeditor_2.1.0) from the eclipse download page
> http://download2.eclipse.org/downloads/drops/R-2.1-200303272 130/index.php
>
> 2. I've inside of eclipse created a project called
> org.eclipse.examples.ui.javaeditor
>
> 3. Inside that project I've created a package with the same name
>
> 4. I've thereafter extracted the example source (available as
> javaeditorexamplesrc.zip) into that package's directory.
>
> 5. Copied the plugin.xml file over to the base directory of that project
in
> the workspace.
>
> Least to say it doesn't work. I must have done something wrong
> somewhere along the way. The extension points seem to work since the
editor
> is available under the run-time workbench yet actually trying to edit the
> file results in errors.
>
> Help or guidance appreciated.
> Thanks in advance.
> Alex
>
>
>
> --
>
>
>
Previous Topic:Problem Showing an icon using Application Window
Next Topic:is there a "Zoom" feature in Eclipse?
Goto Forum:
  


Current Time: Tue Jul 02 17:23:32 GMT 2024

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

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

Back to the top