After the configuration of the server and database a dynamic Web project with Process Manager facets activated can be created in Eclipse. This project contains all relevant artefacts, like JARs and configurations, to run the Infinity Process Platform Portal in the Web application of this project. The Workflow Execution Perspective can be started without any further configuration after Web application server start.
Make sure the option to build projects automatically is enabled so that all sources will be compiled and classes are copied to the required locations (Project > Build Automatically).
To create a new dynamic Web project in Eclipse:
Figure: Creating a New Dynamic Web Project
Figure: Setting Dynamic Web Project Properties
Now choose the folder for your java sources, the default is src. Leave or adjust the default output folder and select Next.
Figure: Set Build Path.
The next dialog gives you the opportunity to configure Web module settings. If you want to use the default settings, just choose Next.
Figure: Configure Web Module Settings
The next dialog is the JSF Capabilities dialog, where you enter the following values:
Now click Finish.
A dialog opens to ask if the perspective should be changed. The J2EE perspective is optional, so click No.
Figure: Change the perspective
As the Process Manager - Jackrabbit facet is contained in the Infinity Process Platform Portal configuration, you have to set the repository path as described in the section Setting the Repository Path of the Document Service Integration Guide.
After creating the dynamic Web project, the folder structure will look like in the example below. A top level folder is created for the project and the project files are initialized.
Figure: New Dynamic Web Project in the Package Explorer
Beside the Infinity Process Facet itself, Infinity Process Platform provides several facets to add or remove functionality, e.g. to your Infinity Process Platform Workflow Execution Perspective:
Please note that the Process Manager - Portal facet requires the JavaServer Faces facet.
You can add or remove facets in the Projects Facets properties dialog by selecting the corresponding project facets. To add or remove project facets to your project:
Figure: Enable or disable Project Facets.
Now you can create a model or import an existing one in the new dynamic Web project. Please refer to the chapter The Process Workbench of the Modeling Guide to get information on how to create and import models in the Process Workbench.
Java classes added to the project for applications or data in the process model are also available in the runtime environment.
As some files could be locked by the server process, please stop your server before adding or removing Jackrabbit facets. Restart it afterwards.
If you have a dynamic Web project with an earlier Infinity Process Platform version, upgrade the Process Manager facets you are using. You can select the version in a drop-down list.
Figure: Choose Facet Version.
Please note that your server version should apply with the facet version you choose.