Designing and Implementing Composite Applications : webMethods Application Platform User’s Guide : Working with Application Platform Projects : About Using CAF Projects with Application Platform : Configuring CAF Projects for Asset Build Environment
Configuring CAF Projects for Asset Build Environment
After you create your CAF project in Software AG Designer, you must specify that it depends on an Application Platform project.
To declare dependencies to Application Platform projects in CAF projects
1. In Designer, open the Solutions Perspective for your CAF project.
2. In the WebContent directory of your CAF project, create a xxx.component.xml file, where xxx is the project type of the CAF project.
The CAF project type can be one of the following:
*war - if the project is a web application
*jar - if the project is a bundle
*pdp - if the project is a legacy portlet.
3. In the <component> tag of the xxx.component.xml file, add the project dependencies. The following example shows a dependency to an Application Platform project, declared in the war.component.xml file of a CAF project:
<component name="caf.project.name" type="war">
    <required>
        <component name="app.platform.project.name" type="Bundle" />
    </required>
</component>
Where caf.project.name is the name of the current CAF project, and app.platform.project.name is the name of the Application Platform project to which you want to add a dependency.
The Asset Build Environment will transfer the dependency to the ACDL descriptor file for the CAF project.
Copyright © 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback