Building an EAR File in TIBCO BusinessEvents Studio

EAR files are built in memory by default. The compiler does not use the file system during code generation. Instead the Studio JVM is used to load all Java classes and resources into memory until the build process is completed. However, you can use the file-system based compiler to build EAR files.

    Procedure
  1. In TIBCO BusinessEvents Studio, select the menu Window > Preferences to open the Preferences dialog box.
  2. Select TIBCO BusinessEvents > Code Generation on the left panel and then set the Compilation Mode to File System.

    When using the studio-tools utility to build an EAR file, set the option -lc to use the file-system based legacy compiler.

    Note: When building an EAR file in memory for a large project, the JVM may run out of PermGenSpace and/or heap space. In such cases, edit the BE-HOME/studio/eclipse/studio.ini andBE-HOME/studio/bin/studio-tools.tra file to set appropriate values for the JVM settings. By default the heap size is set to -XX:MaxPermSize=256m.
  3. In TIBCO BusinessEvents Studio Explorer, highlight the project name, then from the top menus select Project > Build Enterprise Archive.
    If you see a message asking you to save all project resources, click Yes. (This message means an unsaved resource editor is open.)
  4. At the Build Enterprise Archive dialog box, complete values according to guidelines provided in Enterprise Archive Reference.
  5. Click Apply to save the configuration details.
    To revert to the version already saved, click Revert.
  6. Click OK to build the archive.