Configuring Eclipse Plug-In Settings

  1. In Eclipse, select Window > Preferences . The Preferences dialog opens.
  2. Select the Silk Performer node on the menu tree to display Silk Performer settings.
  3. Confirm that the installation directory of your Silk Performer installation is listed in the Install directory text box. If it is not listed, click Browse to browse for and select your Silk Performer installation directory.
  4. Edit the Default project name as required.
  5. Edit the Default test class name as required.
  6. (experienced users only) Edit the default Timeout for connecting to Java debugger setting as required. This is the amount of time allowed (in milliseconds) for connecting to a Silk Performer process during tests.
  7. (experienced users only) Edit the default Shutdown after finish delay setting as required. This is the amount of time (in milliseconds) that Eclipse waits before retrieving results after the completion of Silk Performer tests.
  8. Select a Log level to specify when logs are to be written. Selecting None results in no log files being written. Selecting Errors results in log files being written only when errors are encountered. Selecting Debug results in all activity being logged.
  9. In the menu tree, expand Java and select the Installed JREs node. The Installed JREs page opens and lists the Java runtimes that are used by Eclipse on your local system.
  10. Confirm the Location and Type settings for your Java runtime environment.
  11. To add a Java runtime profile, perform the following steps:
    1. Click the Add button. The Add/Edit JRE dialog opens.
    2. Click [...] to browse to and select the directory that contains your JDK installation (specifically, your Java compiler), then click OK. The fields on the Add/Edit JRE dialog are automatically populated with values derived from your JDK installation.
      Note: You must select a JDK (version 1.5 or higher), rather than a JRE, because Silk Performer attempts to recompile Java files in its test classes.
    3. Click Finish to save your settings.
  12. To edit an existing Java runtime profile, perform the following steps:
    1. Click the Edit button. The Add/Edit JRE dialog opens.
    2. Click [...] to browse to and select the directory that contains your JDK installation (specifically, your Java compiler), then click OK. The fields on the Add/Edit JRE dialog are automatically populated with values derived from your JDK installation.
      Note: You must select a JDK (version 1.5 or higher), rather than a JRE, because Silk Performer attempts to recompile Java files in its test classes.
    3. Click Finish to save your settings.
  13. On the Installed JREs page, click OK to save your settings.