Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2024.1

...

Virtualize allows you to create a new Eclipse Java project that has access to Virtualize Virtualize's Extensibility API, then configure Virtualize scripts and Extension tools to invoke classes from the new Java project.

To create a new Virtualize Java project:

  1. Go to File > New > Project.
  2. Choose Virtualize > Custom Development > Virtualize Java Project, then click Next.
  3. Complete this wizard, which has the same options as Eclipse’s Java Project wizard.
  4. Click Finish.

Your new Java project will be shown in the Package Explorer view in the Eclipse Java development perspective. The project's build path will automatically have the jar files needed in order to use Virtualize 's Extensibility API. Any Java classes added to your project can be accessed by Extension tools in your Virtualize Responder suite.

Using an Existing Java Project

To use an existing Java project from your workspace, you must first add that Java project to Virtualize Virtualize's classpath as follows:

  1. Go to Parasoft > Preferences.
  2. Choose Parasoft > System Properties.
  3. Click Add Java Project and choose the appropriate project.

The selected Java Project's build output folder and build path entries will be added to the classpath table.

If the Automatically reload classes option is enabled, then Virtualize will attempt to reload classes from your Eclipse project after being modified or recompiled. The Reload button can also be used to force Virtualize to reload classes from the classpath entries.