Building the Default ASG_DefaultImplementation Project

How to build the default ASG_DefaultImplementation project.

You can build the EAR file of the project for testing before deployment.

Procedure

  1. In the Studio Explorer, highlight the ASG_DefaultImplementation project. From the top menu, select Project > Build Enterprise Archive.

    If you see a message prompting you to save all project resources, click Yes. This means that an unsaved resource editor is open.

  2. In the Build Enterprise Archive dialog, complete the values according to the guidelines provided in Table 9, Build Enterprise Archive Reference Parameters.
  3. Click Apply to save the configuration details. To revert to the version already saved, click Revert.

    Click OK to build the archive.

    Build Enterprise Archive Reference Parameters
    Field Description
    Name The name of the EAR configuration. (Not the EAR filename.)

    The default value is the project name.

    Author The person responsible for the EAR file.

    The default value is the currently logged-on user name.

    Description The optional description.
    Archive Version Specifies a version identifier. This increments on each build of the EAR. You can also manually enter a version identifier.
    Generate Debug Info Select this check box if you want to use the debugger.

    The default setting is selected.

    Include all service level global variables Select to include service level global variables.
    File Location The location where you want to store the EAR file.

    Browse to the directory to specify the location of EAR file and enter an EAR filename.

    For example, for the TIBCO API Exchange Gateway Core Engine, the ear file is set as

    TIBCO_HOME\asg\2.1\bin\asg_core.ear.

    Delete Temporary Files Before TIBCO API Exchange Gateway packages the EAR file, it generates the Java code in a temporary directory. After the files are packaged in the EAR file, the temporary files and directory are deleted.

    You can choose to keep the generated Java files, for example, to troubleshoot some problem with an EAR file. To do so, clear the Delete Temporary Files check box, and specify where to store the Java files in the Compilation Directory field.

    The default setting is selected, that is, the temporary files are not saved.

    Compilation Directory If you clear the Delete Temporary Files check box, specify the directory where you want to save the Java files generated during the process of building the EAR file.