
116
Serena® Collage® 5.1.3
Chapter 3 Design-Time Component Reference
into the WAR file. If you want to deploy any additional files, such as a script or batch
file that the Deploy Agent will run on the destination server, you must put the files in
this folder. For example, you might want to deploy a script or batch file to restart the
destination server.
2: Assign the Precompile Metadata Field to JSPs
You must create a metadata field called Precompile, and associate it with any JSP files
that will be precompiled into classes (and optionally into a JAR file) as part of the
deployment process.
To assign the Precompile metadata field:
1
In Collage, go to the Project | Asset Type Setup view, and select the
Metadata
subview.
2
Click the
New
button. The New Project Metadata Field dialog box appears.
3
Enter
Precompile
in the
Metadata Name
field, and choose
Boolean
from the
Type
list.
4
Click
OK
.
5
Select the
Assets Types
subview, and click the
Show System Asset Types
link to
display all asset types.
6
Select
JSP File
, and click the
Metadata
button. The Edit Metadata Definitions dialog
box appears.
7
Click
Add
. The New Metadata Definition dialog box appears.
8
Do the following and click
OK
:
Select
Precompile
from the
Metadata name
list.
Select
Yes
from the
Edit by user
list.
Select
Yes
from the
Default value
list.
Kommentare zu diesen Handbüchern