How to make default rendering customizations available in new HATS projects
If you want your default rendering customizations
to appear the next time you create a new HATS project, follow these
steps:
- Create a project and customize your default rendering options.
- Open the application.hap file for this project. For Web projects, it is located in \workspace_directory\project name\Web Content\WEB-INF\profiles\. For rich client projects, it is located in \workspace_directory\project name\profiles\.
- Copy the source between the <defaultRendering> and </defaultRendering>
tags in the application.hap file and replace the source between the <defaultRendering>
and </defaultRendering> tags in the application.hap file located
under the installed HATS offering.
For Web projects, the complete file path is:
<shared_install_directory>\plugins\com.ibm.hats_nnn\predefined\ projects\new\Web Content\WEB-INF\profiles\application.hapFor rich client projects, the complete file path is:In the file paths above, shared_install_directory is the shared resources directory where you installed the HATS offering using IBM® Installation Manager, and nnn is the version and build level of HATS.<shared_install_directory>\plugins\com.ibm.hats_nnn\predefined\ projects\rcp\new\profiles\application.hapNote:You must repeat this procedure after installing HATS maintenance. A new application.hap file will be located under a newcom.ibm.hats_nnndirectory structure.