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

ant clean all in hybris 1905

969

ant clean all in hybris 1905 is taking more than 35 minutes. Can you please tell me how to reduce this build time.

hybris1805 used to hardly take 10 mins to ant clean all but since i have upgraded it to hybris1905 it is taking up alot of time.

Accepted Solutions (0)

Answers (1)

Answers (1)

geffchang
Active Contributor

I agree that 1905 takes a bit longer. One thing that might help is to remove dependencies/extensions you don't need from localextensions.xml.

For initialize, changing the log level for "ImpExWorker" to ERROR reduced the timing a little bit.

log4j2.logger.ImpExWorker.name = de.hybris.platform.impex.jalo.imp.ImpExWorker
log4j2.logger.ImpExWorker.level = ERROR
log4j2.logger.ImpExWorker.additivity = false
log4j2.logger.ImpExWorker.appenderRef.stdout.ref = STDOUT

0 Likes

Hi Geff, Thanks for you reply.

My localextensions.xml is already having limited extensions which we are using in our project so there is no scope to remove any out of it.

I checked my resource monitor it seems JDK11 is occupying most of the CPU memory when doing ant clean all .

Not sure if there is any way to reduce this time and how i can achieve it.

Just to confirm , how much time is it taking for you when you do ant clean all ? and how did you minimize it?

geffchang
Active Contributor

kaustav90 About 10-15 minutes, but I'm using MacBook Pro 2015. On my Windows PC, it's slightly longer.