UtilJar

(DEPRECATED) This task compresses source and/or build output of a Java project into a JAR file and places the JAR file in an Enterprise Application Project.

Note: This deprecated task was not removed in order to maintain compatibility with previous versions, but it will be removed in the future. It should no longer be required; the recommended approach is to use the application deployment descriptor editor to map Java projects to utility JARs.

Parameters

Attribute Description Required
EARProjectName Name of the Enterprise Application Project (case sensitive) Yes
JavaProjectName Name of the Java Project (case sensitive) Yes
Jar EAR relative path of the JAR file Yes
IncludeSource Whether to include the source files of the Java Project No, default is false
Overwrite Whether to overwrite if the file already exists No, default is false

Examples

 

Parent topic

Working with Ant

 

Related tasks

autoAppInstall
AppClientExport
EARExport
WARExport