Eclipse

 
 
The Eclipse Workbench is an open source platform, designed by IBM and released to the open source community. It is an open, portable, universal tooling platform that provides frameworks, services and tools for building tools.

In essence the workbench provides the tool infrastructure. With this infrastructure in place, the tool builders are able to focus on the actual building of their tools. The workbench has been designed for maximum flexibility to support the development of tools for new technologies that may merge in the future.

Industry leaders Borland, IBM, Merchant, QNX Software Systems, Rational Software, RedHat, SuSE, TogetherSoft, and WebGain formed the initial eclipse.org board of directors and began work on the Eclipse open source project.

More information about The Eclipse Workbench can be found at:
http://www.eclipse.org

Eclipse FAQ can be found at:
http://wiki.eclipse.org/index.php/Eclipse_FAQs

The latest Eclipse version can be downloaded from: http://www.eclipse.org/downloads/

There are hundreds of plugins which you can add to Eclipse, for example plugins for testing, code management, uml, xml, etc. The Eclipse plugins can be found at: http://www.eclipseplugincentral.com/







How to use scrapbook



Information
none

Operating system used
Windows Vista Home Premium SP 1

Software prerequisites
Eclipse 3.4 (Ganymede)

Procedure
  1. Start Eclipse and create a Java Project, for example: Demo


    Create Java project

  2. Create the following file:

    package com.mobilefish;

    public class Test {
       public static void main(String[] args) {
          System.out.println("Hello World");
       }
    }


  3. Right click in the Package Explorer view and select: New | Other.

  4. Expand folder Java | Java Run/Debug, select Scrapbook page and press Next button.

    Select Scrapbook page

  5. Enter the location and the Scrapbook file name (e.g. MyScratch) and press Finish button.

    Create Scrapbook page



  6. Enter the following code in the MyScratch.jpage.

    for(int i=0; i<10; i++) {
       System.out.println("Test");
    }


  7. Highlight this code, right click and select Execute.

    Execute code

  8. The output is displayed in the console window.

    Output in console window

  9. To execute the Test.java main method from the Scrapbook, enter the following code in the MyScratch.jpage.

    String[] args = {}; {
    com.mobilefish.Test.main(args);


    Highlight this code, right click and select Execute.

    Note:
    If you select Display instead of Execute, you will see the net return value of the code you have highlighted in the Scrapbook.