Setting preferences for generating Monitor Java EE projects

In the Business Monitoring preferences window, you can set a preference that enables you to specify the templates that you want to use to automatically populate the text fields in the Generate Monitor Java EE Projects window with default project names.

About this task

The Generate Monitor Java EE Projects window always retains its previous values. Any templates that are specified in the Preferences page will be used only the first time a monitor model is generated. On subsequent occasions, the previous values (which you might have edited) will be used regardless of whether the templates are changed.

Procedure

  1. In the Business Monitoring perspective, select Window > Preferences. The Preferences window opens.
  2. In the tree view, select Business Monitoring. The Business Monitoring page opens.
  3. In the Project name templates area, complete the following steps:
    1. In the Model logic project name field, accept the default value or type in a new value for the project name.
    2. In the Java EE application project name field, accept the default value or type in a new value for the project name.
    If one or both of these fields contain the variable name {fileName}, the name of the monitor model file is automatically substituted. Similarly, if one or both of these fields contain the variable name {version}, the version (creation date) of the monitor model file is substituted.

    For example, if the template that you specify for the Java EE application project name is {fileName}Application{version}, the suggested project name is similar to MyModelApplication2010-05-25T12.45.32Z when the Generate Monitor Java EE Projects window is first used in conjunction with the model. The colon (:) that is normally used to separate the hours, minutes, and seconds is converted to a period (.) because a colon is not permitted in the name of an enterprise archive (EAR) file project that is targeted to WebSphere Application Server.

    Note: If you hover the cursor over the Project name templates label, hover help information will be displayed. Also, you can invoke content assist to display the available variable names by positioning the cursor in the text fields and pressing the keys Ctrl + Space.
  4. Click OK.