Hitachi

uCosminexus Service Platform Reference Guide


1.10.1 Preferences dialog box (validation and packaging operation settings)

You can change some items of validation and packaging operations. To open the Preferences dialog box:

Method
  1. From the Eclipse menu, select Window, and then Preferences.

    The Preferences dialog box opens.

  2. In the left pane, select HCSC-Definer, and then Validation/Packaging.

    The window for setting up validation and packaging operations appears in the right pane.

    [Figure]

The following explains the setting of each item.

Organization of this subsection

(1) Settings related to Java source build

You can change the following settings related to the Java class. To apply changes in the settings, click the Apply button or Apply and Close button in the Preferences dialog box.

Always perform a build at validation or packaging of a business process

The build results of the Java class are updated when validation and packaging are performed. The recommended setting is to have the Always perform a build at validation or packaging of a business process check box selected. If you want to set operation for 09-70 or earlier, clear this check box (not recommended).

When build errors occur for Java source files in the src directory, output the errors as validation messages

Errors in a Java class are output when validation and packaging are performed. The recommended setting is to have the When build errors occur for Java source files in the src directory, output the errors as validation messages check box selected. If you want to set operation for 09-70 or earlier, clear this check box (not recommended).

The following describes the operations when the check box is selected and when it is cleared:

Operation item

Check box selected

Check box cleared

Condition to perform error detection

The validation target business process contains an invoke Java activity.

The validation target business process contains an invoke Java activity.

Scope of error detection

All Java classes under the src directory

Only the Java class specified for Java-class-name of the invoke Java activity

(2) Setting related to the invoke Java activity

You can enhance the validation level of the validation items related to the invoke Java activity. To apply changes in the settings, click the Apply button or Apply and Close button in the Preferences dialog box.

Advanced validation items for Java classes

The recommended setting is Error. If you want to set operation for 09-70 or earlier, specify Warning (not recommended). The following table describes the items to be checked during validation:

No.

Validation details

1

Check whether the class specified for Java class name of the invoke Java activity exists in the classes directory of the HCSCTE project.

2

Check whether the class specified for Java class name of the invoke Java activity exists in each of the following locations (only one class can exist in each location):

  • classes directory of the HCSCTE project

  • JAR file within a library of the HCSCTE project

3

Check whether the class specified for Java class name of the invoke Java activity has implemented the dedicated interface (jp.co.Hitachi.soft.csc.bp.receiver.ejb.CustomClassInterfaceM or jp.co.Hitachi.soft.csc.bp.receiver.ejb.CustomClassInterface).

4

Check whether the class or interface required for the validation in No. 3 exists.#

5

Check whether at least two variables are specified in the Variable for argument field of the invoke Java activity and the class specified for Java class name of the invoke Java activity has implemented jp.co.Hitachi.soft.csc.bp.receiver.ejb.CustomClassInterfaceM.

#

If the JAR file containing the class required for usrconf.cfg (option definition file for the J2EE server) in the execution environment is specified in add.class.path, you can ignore the error in No. 4. In this case, specify Warning or Ignore.

(3) Setting related to the validation activity

You can change the level of the validation items related to the validation activity. To apply changes in the settings, click the Apply button or Apply and Close button in the Preferences dialog box.

Variable to be validated is not specified

Specify the operation to be performed when no variables are set for the validation activity. The recommended setting is Error. If you want to set operation for 09-70 or earlier, specify Warning (not recommended).