on 01-20-2017 1:07 PM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.