Creating and Working With Custom Capabilities
What is a custom capability? A custom capability is just a collection of Jars (libraries) that add some capability to a project. When you add a custom capability to a project, the Jar files will be added to project WEB-INF/lib directory.
A custom capability consists of one or more library sets. See how to create library sets.
Steps to create a new capability:
-
Open Window/Preferences/Exadel/Custom Capabilities.
In the upper window you will see existing capabilities. In the lower window, under Library Sets tab you will see the library sets of which this capability consists. A capability can consist of any number of libraries.
The Configuraition File Additions lets you add configuration information that is related to this capability.
- Click Add in the upper window and enter capability name. The capability will now appear in the list.
- Select the capability just created and click Add in the lower window.
- Select library set to add to this capability. Repeat the process to add as many library sets as you need.
- From Package Explorer: right click a project and select Exadel Studio/Add Custom Capability... or
- From Web Projects: right click the project and select Exadel Studio/Add Custom Capability....
- Use check boxes to select Custom Capabilities
- Click on Finish button.
- The following updates have been made to the project.
When you add a custom capability it is possible to modify application configuration files with parameters related to the added capability.
- Select Configuration File Additions tab. You will see an existing list of configuration file additions.
- Click Add or Edit and enter or edit the following values:
- Label - the name of configuration value
- File Name - to which file to add this configuration
- X-Path -
- Text - the text to add to the configuration file