Installations

This section describes the required steps, to get started with the Agent.Workbench development environment. For this the following installation and configuration tasks have to be done:

Install Agent.Workbench

To install Agent.Workbench, navigate to the release section of our repository at github under https://github.com/EnFlexIT/AgentWorkbench/releases. Depending on your operating system, select the installation package. Agent.Workbench is available for Windows, Linux and MacOS.

Extract Agent.Workbench at a desired location on your file system. Afterwards start the executable of the program (e.g. AgentWorkbench.exe, AgentWorkbench.app or AgentWorkbench). After the splash, the main application window appears and and the SciMark 2.0 benchmark will be executed.

Define a target Agent.Workbench Project

To develop your own agent system or work on an existing agent project requires to define a target AWB project. These two options are described in the following.

Open an Agent Project from the Project Repository

Use the Repository-Import in the Projects menu to open the Project-Repository Explorer. Such repository is used to provide ready-to-run projects to end users. Additionally it enables to distribute updates of agent projects.

To import a project, simply select the desired project in the tree. If not already installed, the Install button will be enabled and allows you to download, install and finally open the project.

With AWB projects you can define required OSGI/Eclipse-features. If not already installed, the required features will be downloaded and installed. Thereafter, the application will automatically restarted and the project will be opened.

Create an Agent Project

For the time being, save the project and close Agent.Workbench. A description of the project window structure will be provided here.

Install Eclipse IDE for Java EE Developers

Creating new OSGI bundles, requires at least to use the Eclipse Plug-in Development Environment (PDE). For this, we recommend to install the Eclipse IDE for Java EE Developer that provides this environment, but also a little more. Navigate to https://www.eclipse.org/downloads/ and download the Eclipse Installer.

Since the installer wants to create directories and copy files to it, execute the program as someone who has the right permissions. For example: if you want to install Eclipse under C:\Program Files\jee-oxygen, you should have executed the installer as the administrator of the system. After the installer has started, select the right version of Eclipse and follow the further instructions.

Setup the Eclipse-Workspace

For Beginners

If you have never worked with Eclipse, you should first take the time to read one of the available beginner tutorials in the web. Some of them are:

  • the HTMLHelp Center of Eclipse:

    http://help.eclipse.org/oxygen/index.jsp

    You will recognize the big tree on the left hand site that gives you an impression of the multitude of tools available under Eclipse. The introductory part can be found navigating along Workbench User Guide => Getting started => Basic tutorial

  • the tutorial site of Lars Vogel (vogella) that offers a lot of tutorial in the context of Java, Eclipse, Plugin development and other. The introduction to the Eclipse IDE (Integrated Development Environment) can be found here:

    http://www.vogella.com/tutorials/Eclipse/article.html,

If you prefer a video tutorial, you might like one of these:

... or simply do what most programmers do, if they have a specific question: ask Google!

Starting your Eclipse IDE the first time, you will be prompted to define a workspace directory. Background: Eclipse organizes Java projects in different, so-called workspaces. For example: while you develop your website code in one workspace, you can develop your agent system in another. Thus it can be avoided to mix-up things that do not belong to each other.

For Advanced

If you are already using Eclipse for a while, you will be probably aware about switching a workspace. For sake of completeness: Go to menu File => Switch Workspace => Other ****and Browse for the desred workspace location.

Having defined your workspace, Eclipse will be opened with a welcome page that points to further information or tutorials - simply close this window.

As next, we have to make sure that we use the right Perspective. Select menu Window => Perspective => Open Perspective => Other. and select the perspective for Plug-in Development.

As next step, the target platform has to be defined, which is described on the next page.

Last updated