Posts

Showing posts from September, 2024

Ant all VS Ant clean all commands in SAP Commerce [Hybris]

Image
In this article, I will explain the difference between most commonly used Ant build commands like ant all & ant clean all . SAP Hybris uses Apache Ant build framework to build the extensions or modules in the Hybris framework.  There are several ant targets available to build the hybris framework like ant all, ant clean and ant clean all. We can find list of available ant targets by using ant -p command as shown below: Note: before running any ant command we must set ant environment from platform folder.             C:\Trainings\CX2211\hybris\bin\platform> setantenv.bat Ant clean all: When we run the ant clean all command from the platform folder, it does the following things: First it will check whether all folders like bin, config, data, log, roles, temp folders are available inside hybris folder or not. If the folder structure is not available then it creates else it won't create any folder structure.  It deletes all existing gen...