
114
Serena® Collage® 5.1.3
Chapter 3 Design-Time Component Reference
When you preview the asset, it will display the following text:
This page was created by Alex Mar on 04.19.02. It was last modified on 05.22.02.
When the page is actually deployed using another deploy map, for which the Preview field
is set to "No," no content will display. This is because the
<nexus:select "0">
tag is
empty.
WARFiler
The WARFiler component automates the creation of Web ARchive (WAR) files for
deployment. It automates the following deployment steps:
1
Pre-compiles JSP files into Java classes, and optionally into a JAR file.
2
Modifies the web.xml deployment descriptor file to include information about all of the
precompiled JSP files.
3
Creates and deploys a WAR file.
Before You Start
The WARFiler component creates and deploys WAR files based on standards defined by
Sun Microsystems for WAR file deployment. You must organize your web application
content according to Sun guidelines, as described in the following article:
http://access1.sun.com/techarticles/simple.WAR.html
This includes:
Storing all static HTML files and JSPs in the top-level directory. Collage looks for these
files in a root deploy folder called
/Content
. Collage then places any files it finds in
the
/Content
folder at the root of the WAR file.
Storing all servlet and related Java technology class files in a
WEB-INF/classes
directory, and any auxiliary library JAR files in the
WEB-INF/lib
directory. Collage
looks for the
WEB-INF/classes
and
WEB-INF/lib
directories under a root deploy
folder called
/Code
.
Storing the deployment descriptor as a file named web.xml in the
WEB-INF
directory.
Collage looks for this file in a
/Configuration/WEB-INF
directory.
How to Set Up the WARFiler Component
Once you have organized your content correctly, you must do the following to set up the
WARFiler component in Collage:
1
Create the deploy folder structure.
2
Assign the Precompile metadata field to JSP files.
3
Upload web application files.
4
Define WARFiler properties.
Kommentare zu diesen Handbüchern