| | 344 | <!-- Make our own servlet.properties file for struts applications --> |
|---|
| | 345 | <echo file="${app.dest.classes}/servlet.properties" ><![CDATA[# |
|---|
| | 346 | # ======================================================================== |
|---|
| | 347 | # This file contains all properties for servlet applications. |
|---|
| | 348 | # It cannot be application specific as the jboss build creates a |
|---|
| | 349 | # single set of resources on the classpath. |
|---|
| | 350 | # ======================================================================== |
|---|
| | 351 | # |
|---|
| | 352 | |
|---|
| | 353 | # ======================================================================== |
|---|
| | 354 | # Properties for the xml/xslt based calendar web applications |
|---|
| | 355 | # ======================================================================== |
|---|
| | 356 | # |
|---|
| | 357 | # author Mike Douglass douglm rpi.edu |
|---|
| | 358 | |
|---|
| | 359 | # This is only here because the jetspeed portal-struts bridge does not seem to be |
|---|
| | 360 | # passing across the servlet context. |
|---|
| | 361 | #org.bedework.svcicb.sessionAttrName=org.bedework.admin.svcicb.sessionattrname.@APP-NAME@ |
|---|
| | 362 | |
|---|
| | 363 | # These are required by the Struts framework |
|---|
| | 364 | errors.header=<errors><ul> |
|---|
| | 365 | errors.footer=</ul></errors> |
|---|
| | 366 | |
|---|
| | 367 | messages.header=<messages><ul> |
|---|
| | 368 | messages.footer=</ul></messages> |
|---|
| | 369 | |
|---|
| | 370 | edu.rpi.sss.util.action.noactionerrors=yes |
|---|
| | 371 | |
|---|
| | 372 | applicationResources=<li>Cannot load application resources bundle {0}</li> |
|---|
| | 373 | |
|---|
| | 374 | # set the default content type - html for jsp, xml for xml/xslt. |
|---|
| | 375 | #edu.rpi.sss.util.action.contenttype=@DEFAULT-CONTENTTYPE@ |
|---|
| | 376 | edu.rpi.sss.util.action.contenttype=text/xml |
|---|
| | 377 | |
|---|
| | 378 | edu.rpi.sss.util.error.exc=<li>Exception: {0}</li> |
|---|
| | 379 | |
|---|
| | 380 | # Turn nocache headers on. We don't use the standard struts directives |
|---|
| | 381 | # because we need to be able to turn nocache off for a single response. |
|---|
| | 382 | # This gets around an IE problem with delivery of files. |
|---|
| | 383 | edu.rpi.sss.util.action.nocache=yes |
|---|
| | 384 | |
|---|
| | 385 | org.bedework.security.prefix=@SECURITY-PREFIX@ |
|---|
| | 386 | |
|---|
| | 387 | edu.rpi.sss.util.action.logprefix=@APP-NAME@ |
|---|
| | 388 | |
|---|
| | 389 | # Roles we need to know about - init action uses these |
|---|
| | 390 | # (Not using roles in the current system) |
|---|
| | 391 | #org.bedework.role.admin=@SECURITY-PREFIX@.admin |
|---|
| | 392 | #org.bedework.role.contentadmin=@SECURITY-PREFIX@.contentadmin |
|---|
| | 393 | #org.bedework.role.alert=@SECURITY-PREFIX@.alerts |
|---|
| | 394 | #org.bedework.role.owner=@SECURITY-PREFIX@.owner |
|---|
| | 395 | ]]></echo> |
|---|
| | 396 | |
|---|
| | 397 | <!-- Replace the tokens --> |
|---|
| | 398 | <replace file="${app.dest.classes}/servlet.properties"> |
|---|
| | 399 | <replacefilter token="@SECURITY-PREFIX@" |
|---|
| | 400 | value="${propval.app.security.prefix}" /> |
|---|
| | 401 | <replacefilter token="@APP-NAME@" |
|---|
| | 402 | value="${propval.app.name}" /> |
|---|
| | 403 | <replacefilter token="@DEFAULT-CONTENTTYPE@" |
|---|
| | 404 | value="${propval.app.default.contenttype}" /> |
|---|
| | 405 | </replace> |
|---|
| | 406 | |
|---|