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.