Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "E4/Bespin"

< E4
Line 15: Line 15:
  
 
# Using a web browser, go to [http://hg.mozilla.org/labs http://hg.mozilla.org/labs]. Click on the <i>zip</i> or <i>gz</i> button for <i>bespin</i> on the right hand side, this should download an archive with the Bespin source code.
 
# Using a web browser, go to [http://hg.mozilla.org/labs http://hg.mozilla.org/labs]. Click on the <i>zip</i> or <i>gz</i> button for <i>bespin</i> on the right hand side, this should download an archive with the Bespin source code.
 +
# In Eclipse, select <i>File > Import...</i>, pick <i>General > Existing Projects into Workspace</i>, click <i>Next</i>, select the <i>archive file</i> option, click <i>Browse...</i> and select the archive file you just downloaded. Click <i>Open</i> in the file chooser dialog, then check <i>bespin</i> to be imported, and click <i>Finish</i>.
 +
# As a result, you should have a project called <i>bespin</i> in your workspace, containing folders like <i>backend</i>, <i>docs</i>, <i>frontend</i>, etc. and a few files. (Note: If you are adventurous, you could instead install Mercurial and check out the project directly from the Mozilla repository.)
 +
# Right-click on the <i>bespin</i> project and select <i>PDE Tools > Convert Projects to Plug-in Projects...</i>. Confirm the wizard dialog that opens by clicking <i>Finish</i>. This will generate a plug-in manifest file <i>META-INF/MANIFEST.MF</i>.
  
 
== Running the server ==
 
== Running the server ==

Revision as of 15:04, 17 February 2009

The e4 Bespin server is an experimental implementation of Bespin's client-server API.

Bespin-eclipse.png

Getting the Eclipse code

  1. Start with a recent Eclipse build and an empty workspace. We recommend Eclipse SDK 3.5 M4.
  2. Select File > Import... and select CVS > Projects from CVS, click Next.
  3. Copy the CVS repository location and paste it into the "Host" field to populate the wizard page: :pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse
  4. You should see "Host: dev.eclipse.org, Repository path: /cvsroot/eclipse, User: anonymous, Connection type: pserver".
  5. Click Next and select the second option Use an existing module.
  6. Drill down as follows: e4 > org.eclipse.e4.server > bundles and select org.eclipse.e4.server.bespin. Click Finish.

Getting the Mozilla code

  1. Using a web browser, go to http://hg.mozilla.org/labs. Click on the zip or gz button for bespin on the right hand side, this should download an archive with the Bespin source code.
  2. In Eclipse, select File > Import..., pick General > Existing Projects into Workspace, click Next, select the archive file option, click Browse... and select the archive file you just downloaded. Click Open in the file chooser dialog, then check bespin to be imported, and click Finish.
  3. As a result, you should have a project called bespin in your workspace, containing folders like backend, docs, frontend, etc. and a few files. (Note: If you are adventurous, you could instead install Mercurial and check out the project directly from the Mozilla repository.)
  4. Right-click on the bespin project and select PDE Tools > Convert Projects to Plug-in Projects.... Confirm the wizard dialog that opens by clicking Finish. This will generate a plug-in manifest file META-INF/MANIFEST.MF.

Running the server

Back to the top