[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[platform-vcm-dev] PDE and self-hosting
|
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.
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 lauch 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 (i.e. you are self-hosting). 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
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 comipled
successfully). For CVS, these projects are:
org.eclipse.team.core team.jar
org.eclipse.team.cvs.core cvs.jar
org.eclipse.team.cvs.ssh teamcvsssh.jar
org.eclipse.team.cvs.ui teamcvsui.jar
org.eclipse.team.ui teamui.jar
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