StudioUtil.buildEar()

Signature

boolean buildEar(String projectName, String projectPath, String earPath, String extendedClasspath, boolean useLegacyCompiler)

Domain

ACTION

Description

Builds the project EAR file for the given project path.

Parameters

NameTypeDescription
projectNameStringThe name of the project to be built.
projectPathStringThe path to the project to be built.
earPathStringThe full path to the output ear file, i.e. C:/temp/proj.ear.
extendedClasspathStringor null if no additional classPath entries are needed
useLegacyCompilerbooleanWhether to use legacy compilation
libPathStringOptional lib path

Returns

TypeDescription
booleanA boolean indicating success or failure.

Cautions

none