cancel
Showing results for 
Search instead for 
Did you mean: 

Difference between "ant" and "ant all"

krishn_signet
Participant
0 Kudos

What is the difference between "ant" and "ant all". Also during build all extension are compiled whether they are in localextension.xml or not. Is there any way to prevent all extension from compiling and only those which are in localextension.xml.

Accepted Solutions (0)

Answers (2)

Answers (2)

ArthurPerry
Employee
Employee
0 Kudos

I agree with Tobias. To add a bit more detail, "all" is the default target for the project. See ${HYBRIS_BIN_DIR}/platform/build.xml:

<project name="platform" default="all" basedir=".">

The build system should build all extensions defined in localextensions.xml plus any dependent extensions. Any non dependent extensions are skipped.

Former Member
0 Kudos

hi Krishn, There's no difference since "all" is the default ant call. All dependent extension, given by the extensioninfo dependencies will be compiled during this process. If you like to shorten compile time you might want to consider building a single extension by call ant inside an extension.