cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

In Config/local.properties, What is use of build.parallel=true?

Former Member
0 Likes
1,953

Hi Team,

Can you please explain me the use of multiple core in hybris?

If there is any example for that,it will be very helpful for me to understand.

Thanks,

Accepted Solutions (0)

Answers (2)

Answers (2)

arvind-kumar_avinash
Active Contributor

Hi - By using build.parallel=true, we ensure multithreaded build processing (i.e. building in parallel) and hence speeding up the build process. It is useful only when your system has a multi-core (e.g. dual core, quad core etc.) processor.

Setting build.parallel=true on a system with a single-core processor will have no effect.

Finally, I would like to mention the following documentation from hybris /bin/platform/project.properties file:

 # Set to true if you want to build extensions in parallel if possible.
 # Whenever there is no dependency, ant will fork multiple threads and
 # build the extensions in parallel.
 # This makes sense only if you have multiple cores in your system.
 # Warning:
 # The output to console is printed asynchronously and with that hard to read.
 build.parallel=false

Please note that the value of build.parallel is false by default as shown above.

Former Member
0 Likes

Thank you .

Former Member
0 Likes

HI ,

Can you please explain me this about it?

Thanks.

geffchang
Active Contributor
0 Likes

This is for multithreading. The more threads are assigned to a task, the faster the task will finish.