Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-vcm-dev] PDE and self-hosting

This e-mail is a repeat of the previous with an expanded explanation in
step 2 of Using PDE.
-------------------------------------------------

This e-mail is intended for those who wish to either develop using PDE or
self-host on top of the latest release of one or more projects (or both).
It includes two items. The first is how to use PDE to lauch an Eclipse
workbench that includes the plugins you are developing. The other describes
how to self-host over plugins you are developing.

A. Using PDE

When you are using Eclipse to create plugins, you inevitably want to run an
Eclipse workbench over your modified plugins. This ability is provided by
PDE. However, there are a couple of steps you need to take to get this to
work properly.

1. In order to launch a "Runtime" Eclipse workbench, you need to set the
launcher for one of the plugins to be PDE. To do this, open the properties
dialog for the project, select "Launcher" in the category list and select
"Run-time workbench" from the dropdown list. If you then select the project
and click the run or debug tool item, a new workbench will start up which
contains ALL the projects in your local workspace as plugins.

2. The above will cause problems if you are working on plugins that also
exists in your underlying Eclipse. For example, if you are self-hosting for
CVS as described in the next item (B. Self-hosting) then you will have each
plugin that is in your workspace loaded twice if you launch the PDE
run-time workbench. To avoid this you must tell PDE to exclude these
plugins. To do so, open the Preferenences dialog and select "Plug-in
Development" in the categories list, Then UNCHECK the plugins which you
have in your workspace. For CVS self-hosting, these are:
     CVS SSH Core (may appear twice-you can uncheck them both)
     CVS Team Provider
     Eclipse Team Support Core
     Team Support CVS UI
     Team Support UI

B. Self-hosting

In order to self-host on the latest code released to dev.eclipse.org,
perform the following steps:

1. Start eclipse and checkout the projects (make sure they compiled
successfully). For CVS, these projects are:
     org.eclipse.team.core
     org.eclipse.team.cvs.core
     org.eclipse.team.cvs.ssh
     org.eclipse.team.cvs.ui
     org.eclipse.team.ui
2. Quit eclipse
3. Copy the above directories from your workspace to your plugins directory
4. Restart Eclipse with the "-dev bin" option

You are now self hosting

If you have any question or comments, let me now.

Michael Valenta

_______________________________________________
platform-vcm-dev mailing list
platform-vcm-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-vcm-dev



Back to the top