You can build an enterprise archive file using a BusinessEvents Studio dialog, and also using a command-line utility.
Do not store the EAR file in a project folder Doing so includes the prior EAR file when you build the EAR file again, needlessly increasing the size.Default EncodingThe default encoding of EAR files generated by BusinessEvents Studio is ISO8859-1. This is also the default encoding of TIBCO Administrator. To upload an EAR file to TIBCO Administrator, the EAR file encoding must match the TIBCO Administrator encoding.To change the default EAR file encoding, define a global variable named MessageEncoding and set its value to the desired encoding, for example UTF-8.For deployment options see Chapter 8, Deploying and Managing Engines with MM and Chapter 10, Deployment Using TIBCO Administrator or at the Command Line in TIBCO BusinessEvents Administration. For testing purposes, you may find it useful to refer to the section Starting a TIBCO BusinessEvents Engine at the Command Line in that guide.When testing project before development, you may want to build the EAR as explained here, and run the project at the command line.
1. In 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. It means an unsaved resource editor is open.
2.
3. Click Apply to save the configuration details.
4. Click OK to build the archive.
Include all service level global variables Browse to the directory in which you want to store the EAR and enter an EAR filename. Before BusinessEvents packages the EAR file, it generates the Java code in a temporary directory. After the files are packaged in the EAR file, then 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, uncheck the Delete Temporary Files checkbox, and specify where to store the Java files in the Compilation Directory field. If you uncheck the Delete Temporary Files checkbox, specify the directory where you want to save the Java files generated during the process of building the EAR file.For automation purposes you can use an operation in the Studio Tools utility, studio-tools.exe, to build EAR files at the command line. See Building an Enterprise Archive (EAR File) at the Command Line for details.
Copyright © TIBCO Software Inc. All Rights Reserved.