Designing and Implementing Composite Applications : webMethods CAF and OpenCAF Development Help : Getting Started with OpenCAF Shell Page Development : Handling of Existing Files When Applying a Page Template
Handling of Existing Files When Applying a Page Template
When you use a custom page template in an OpenCAF Shell project that contains existing resources, Designer mergers certain files. When particular files exist both in the applied template and at destination paths in the target project, Designer appends the content of the new file to the content of the existing file.
Note:  
Merging new and existing files does not remove duplicate elements from the output file. You must ensure that the final file does not contain duplicate elements.
The following table shows the types of files that are merged in the target project and the destination path of each merged file of a particular type.
Type of File
Destination Path
xmlImport files
*WebContent/WEB-INF/before_upgrade/*/*.xml
*WebContent/WEB-INF/dataSources.xml
*WebContent/WEB-INF/xmlImport.xml
*WebContent/WEB-INF/config/xmlImport.xml
*WebContent/WEB-INF/xmlImport/*.xml
*WebContent/WEB-INF/after_upgrade/*/*.xml
faces-config descriptor files
WebContent/WEB-INF/faces-config.xml
web descriptor files
WebContent/WEB-INF/web.xml
portlet descriptor files
*WebContent/WEB-INF/portlet.xml
*WebContent/WEB-INF/wm-portlet.xml
web service connector clients descriptor files
WebContent/WEB-INF/wsclients.xml
For all other files that exist at the destination path, Designer ignores the files in the applied page template and uses the exiting files in the project instead.
Copyright © 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback