You can run Java samples in your Eclipse project.
- Launch Eclipse by double-clicking the eclipse.exe file and
select your workspace.
Use Eclipse 3.6 or higher.
- Create a project.
- Select .
The Import dialog box appears.
- Expand General, select Existing Projects into
Workspace, and click Next.
- Select the Select archive file option and click
Browse.
- Browse to the sample directory and select
RaylightRESTWS_Samples.zip.
- In the Projects area, select
com.sap.webi.raylight.samples and click
Finish.
The com.sap.webi.raylight.samples project folder
appears in the Package Explorer view.
- Under com.sap.sl.webi.raylight.param, open the
Config.java file for editing.
- Fill in the following parameters with the values corresponding to your
installation:
- CMS_SERVER_URL: the URL exposed by the server hosting
the RESTful web services
- CMS_USER: user name used in your samples to connect to
the CMS repository
- CMS_PASSWORD: password used in your samples to connect
to the CMS repository
- Under com.sap.webi.raylight.samples, right-click a
sample class and select .
The sample runs, allowing you to find out the generated Web Intelligence documents in
your CMS repository under Documents/Folders/Web Intelligence
Samples.