Your Web application requires a versioning module that acts as an additional configuration layer for storing all resources required to manage the Web application’s JSP file assets. The procedure for setting up the versioning module for a Web application is basically the same as the procedure described earlier in this chapter for non-Web applications (see Create the Versioning Module), although you structure and configure module resources differently for JSP-based applications.

To set up the versioning module for a Web application, you should copy the demonstration WebAppRefVer module that is distributed with ATG Content Administration. For more information, see WebAppRef Reference Implementation.

If you copy the generated configuration files into another versioning module, be sure to modify the module’s manifest file accordingly so all required modules are included.

After you copy the structure and contents of the demonstration module, edit the following module resources:

Manifest file

The manifest file for the versioning module, located in:

<ATG2007.3dir>\versioning-module-name\METAINF\

Specify the Web application’s source module and Publishing.base as required modules. For example:

ATGRequired: Publishing.base MyWebApp

You must specify the Web application’s source module if it contains other resources, such as the original definition and configuration files for one or more repositories. This might be necessary for other reasons as well. For example, you might intend to run the Web application in the content development environment, using file mirroring to copy the new head versions of each JSP file asset to the Web application upon their check-in.

If there is no identified dependency on the Web application’s source module, you can omit it from the list of required modules.

config files

The necessary configuration files for the versioning module, located at <ATG2007.3dir>\versioningmodulename\config\ or a subdirectory:

lib file (I18N)

A single resource configuration file that stores the resource strings for the repository definition file, used for internationalization and localization purposes. The resource file name is composed of the item descriptor name plus FileRepositoryResources.

The resource file is located in:

<ATG2007.3dir>\versioningmodulename\lib\classes\atg\epub\file\

liveconfig file

XE “JSPs:versioning module:liveconfig files” A publishingFiles.xml file for the /atg/epub/file/PublishingFileRepository that sets the new item descriptor’s cache mode to locked in the liveconfig layer. This file is located at:

<ATG2007.3dir>\versioningmodulename\liveconfig\atg\epub\file

 
loading table of contents...