generated-resources

Purpose

Defines a project-specific prefix for the chartimages element entry. MCS appends the base-dir value to the web-application element's base-url and page-base attributes, and follows it with the setting in chartimages element's base attribute.

Note:

This element is deprecated and will be removed from a later version of MCS.

Contained by

Attribute

Attribute Description Type Default Options Use
base-dir The project directory to append to the application server base directory for storing generated resources xs:string none    required 

Example

<projects>
  <default preload="true">
    <jdbc-policies name="myproject"/>
    <assets base-url="/[context_root]/">
      <audio-assets prefix-url="/audio/"/>
      <dynamic-visual-assets prefix-url="/dynvis/"/>
      <image-assets prefix-url="/images/"/>
      <script-assets prefix-url="/scripts/"/>
      <text-assets prefix-url="/text/"/>
    </assets>
    <generated-resources base-dir="myproject"/>
  </default>
</projects>

Related topics