Open in new window

back

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:

  1. Open Window/Preferences/Exadel/Custom Capabilities.

    customCapability001

    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.

  2. Click Add in the upper window and enter capability name. The capability will now appear in the list.
  3. Select the capability just created and click Add in the lower window.
  4. Select library set to add to this capability. Repeat the process to add as many library sets as you need.
To add capability to a project:
  • 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....

  1. Use check boxes to select Custom Capabilities
  2. Click on Finish button.

    customCapability0020

  3. The following updates have been made to the project.

    customCapabilityAjax.gif

When you add a custom capability it is possible to modify application configuration files with parameters related to the added capability.

customCapability002

  1. Select Configuration File Additions tab. You will see an existing list of configuration file additions.
  2. 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
When you add a capability and have defined configuration files additions values, these values will be added to the configuration files.

back