Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 TIBCO BusinessEvents Studio Tools Utility : Building an Enterprise Archive (EAR File) at the Command Line

Building an Enterprise Archive (EAR File) at the Command Line
For full details on deployment, see TIBCO BusinessEvents Administration. The buildear operation within the studio-tools utility is useful for automation purposes, for example, in testing environments.
By default, the EAR files are built in memory. The compiler does not use the file system during code generation. Instead, the Studio JVM is used to load all the Java classes and resources into memory until the build process is completed. You can choose to use the file-system based compiler to build EAR files by setting the appropriate options.
To Build an EAR File at the Command Line
1.
Navigate to BE_HOME/studio/bin/ and open a command prompt.
2.
studio-tools -core buildEar [-h] [-x] [-lc] [-o outputEarFile>] -p studioProjectDir [-cp extendedClasspath]
For example:
studio-tools -core buildEar -o c:\FD.ear -p D:\Workspace\FraudDetection
Table 5, TIBCO BusinessEvents Studio Tools Options for Building an EAR File (Cont’d), provides detailed information about the options.
Within the core category of operations, specifies the buildear operation for building EAR files.
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 and BE-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.
 
 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved