spacer.png, 0 kB
spacer.png, 0 kB

RCP FIT Example: Creating a Project in the SDK

The first example for RCP FIT is a test for the Eclipse SDK. The test creates a few projects using the workspace API and then checks if the projects are actually there.

Download


Importing

The zip file needs to be imported to your workspace.

The imported project looks like this.

image

Let's have a look around.

The FIT Test

The input file is an Excel file. FIT can also use HTML as input files.

The input file looks like this (in OpenOffice).

image

Running the example

The example includes a launch configuration called CreateJavaProjectFitTest. Use this launch config to start a second instance of the Eclipse SDK.

Then you will see a second Workbench. This one includes the RCP FIT toobar button.

image

Select the Excel file from your workspace and some other directory for the output.

The test will create three projects in your runtime workspace. You will see them e.g. in the Package Explorer.

image

The Report

The report created by FIT looks like this.

image

Have a look at the Fixture to see how this works.

There are 890 comments on this page. [Display comments]

spacer.png, 0 kB
spacer.png, 0 kB
spacer.png, 0 kB
spacer.png, 0 kB