Running the Eclipse Web Demo

This document provides an overview of the current functionality in the Eclipse Web Demo, how to get started, and what you can expect to work.

Client Side How-To

Point your browser to (we really need a demo URL). To run the server side yourself, see Running the Server. (If we have a demo server with sample workspaces, we can have a more scripted demo, with some development scenario. Until then, this is kind of generic....)

Browsing a Workspace

The tree on the left shows the projects in your workspace. You can navigate the workspace using the tree. If you click on a file, the code will be displayed in the editor on the right. You can also create new projects, folders, or files using the New dropdown on the toolbar.

Editing and Saving Code

The code editor supports syntax highlighting for Javascript, HTML, and CSS. Clicking in the editor will show you the line number/column in the status area. To save a file, click on the save icon in the toolbar.

Checking out Code from CVS

Changing Workspaces

You can change between workspaces, provided they are located as sibling folders to the default workspace used. Click on the Workspace button on the toolbar and enter the folder name of the workspace that you want to switch to. (Note: when we have a demo server set up, we can change these instructions to discuss what workspaces are available so that a script could be followed.)

Running the Server

CVS Access

The code is currently hosted in the Ottawa CVS server. If you don't have access to this server, you'll need to do the following:

  1. Go to the Toronto access server.
  2. Click on "My Userids". Hopefully you will see an account listed for you called "Ottawa LDAP 2670 Queensview" . If not, you'll need to follow the instructions to set up an account.
  3. If you have an account but don't remember your password, you can click the link to reset your password. It should take 1/2 hour or so to get an email back with a temporary password and instructions for resetting it.

Once you have a password, point your CVS connection to:

ottcvs1.ottawa.ibm.com
/home/cvs/desktop

Loading and Running the Server Side

  1. Check out the org.eclipse.e4.webide.releng project from HEAD.
  2. Import the webide.psf project set file.
  3. Click on the project org.eclipse.e4.webide and choose PDE Tools - Update Classpath from the popup menu. (This seems to be necessary in some installations, not sure why).
  4. open the launch configuration dialog for the web-ide.launch file. In the Arguments tab, add a workspace location to your arguments. For example:
    -data c:\workspaces\demo
    
    If you want to switch between workspaces, you should set up a directory structure whereby the different workspaces are siblings underneath the same folder. Something like:
    c:\workspaces\
        demo1
        demo2
        demo3
    
  5. Launch the web ide.
  6. Point your browser at http://localhost:8080/simpleide.html