Building an EAR File at the Command Line
You can build an EAR file using the command line interface.
Procedure
- Navigate to BE_HOME/studio/bin/ and open a command prompt.
-
Execute a command with the following format (all on one line) at a command prompt:
studio-tools -core buildEar [-h] [-x] [-lc] [-o outputEarFile>] -p studioProjectDir [-pl projectLibrariesFilePath] [-cp extendedClasspath]
For example:
studio-tools -core buildEar -o c:\FD.ear -p D:\Workspace\FraudDetection
See Options for Building an EAR File
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 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. -
When testing a project, run it at the command line using the following format:
BE_HOME/be-engine [-h] [--propFile startup property file] [--propVar varName=value][-p custom property file] [-n engine name] [-d] [-c CDD file] [-u processing unit ID] [EAR file]
Copyright © TIBCO Software Inc. All Rights Reserved.