... based on AWB-Installation

Target Platform definition based on a local Agent.Workbench (AWB) installation

Define the Target Platform

To do so, open the Eclipse preferences (menu Window => Preferences) and type the word 'target' into the search text field (see image).

Further, Add a new Target Platform definition, choose Nothing: Start with an empty target definition on the first dialog page and press the Next button underneath. In the subsequent dialog:

  1. Define the name of the Target Platform definition (e.g. Agent.Workbench)

  2. Choose Add to select the content (bundles and / or features) that define your target platform.

  3. Select Installation, press Next and Browse to the installation of Agent.Workbench in your file system.

  4. Again, click Next to get a preview of the bundles / plugins to be used for your Target Platform or directly click Finish.

As a result, the field in the Locations tab should point to your Agent.Workbench installation, saying that approx. 131 plugins were found. Click on Finish. The new target platform definition should now also be displayed in the list in the preference dialog. As final step mark this new definition as active (tick the corresponding box) and press Apply and Close.

Now you are prepared to develop your first agent project with Agent.Workbench.

Install the Developer Resources

When defining the target platform based on a local AWB installation, by default you cannot see the AWB source code. In case you are a developer who wants to read the source code, you can simply download those resources from your AWB installation.

Open the AWB installation that you defined your target platform with. Then click Help and open the Eclipse Window.

In the Eclipse Window, click Help and Install New Software.

In the drop-down menu select the EnFlex.It Update Site.

To follow along, check Group items by category, then open Agent.Workbench and select Agent.Workbench - Core Feature Developer Resources and EnFlex.IT common interfaces and classes Developer Resources. Then click Next.

Review the items to be installed and click Next.

On the next page, accept the license agreement and click Finish. If a security warning shows up, click Install anyway.

Then restart Agent.Workbench.

Now you successfully installed the Developer Resources. As a last step, because we made changes to the AWB installation that Eclipse does not know about, we must reload the target platform. Open your target platform definition and click Reload.

Uninstall Developer Resources

If you want to uninstall previous installed Developer Resources, open the Eclipse window in your AWB installation again. Then click Help > About.

Then open the Installation Details.

In the Installation Details window select the resources you want to uninstall and click Uninstall.

On the next page confirm the uninstallation by clicking Finish.

After restarting Agent.Workbench the resources are uninstalled. As a last step you have to reload the target platform in Eclipse again, as explained above, to get the changes in your Eclipse workspace.

Last updated