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

How to update extension to current hybris version

0 Kudos
632

Hi Guys,

Currently, we are in hybris 6.6.0.x version. But some of our custom extension are still in different version like 6.2, 6.4. My query is how to update all the custom extension to current hybris version

Accepted Solutions (0)

Answers (1)

Answers (1)

arvind-kumar_avinash
Active Contributor
0 Kudos

There is no other way than to copy custom extensions from the old version to the newer one and clear the compilation errors.

0 Kudos

Hi AK,

Thanks for your quick response.

I can see the build version of an extension in cusomextension.build.number. Did I directly change the version number or else is there any steps need to follow up to update??

arvind-kumar_avinash
Active Contributor
0 Kudos

In the new version, you should generate new extensions with the same name as in the old version, using the corresponding templates (e.g. if your custom extension is based on yempty, choose yempty as the tempate while executing extgen) and then copy your custom code, configurations, data model & import files etc. (i.e. code, properties file, items.xml & impex files etc.) from the customextension in the old version to the newly generated customextension in the new version. This way your customextension.build.number file will automatically be aligned with the build.number file located in the ${HYBRIS_BIN_DIR}/platform directory and you won't need to change it manually.

More information at https://help.hybris.com/1811/hcd/3a3b92d4900b4b3685157b806a73eab2.html#aboutextensions-extensionvers...

Feel free to ask if you need further clarification.

0 Kudos

Hi AK,

Thank you so much for your detailed explanation. I will check and let you know if I have any queries.