on 11-16-2018 2:29 PM
Hey experts,
I have a problem with my ant clean all process. everytime the process is deleting every addon from my storefront but its not copying the needed files back when the addons are genereated. so my build fails when it tries to compile the less files which are just not existing. The installed and the localextensions.xml and extensioninfo.xml are defined correctly.
Does anybody know what tot do?
might be issue with addoninstall, even after installing the addon if you still face same issue check if in your storefront extension's extensioninfo.xml have the addon entries.
If not, you can manually edit the extensioninfo.xml to have your addon entry. And try building again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I too faced this problem. Installing the addon to storefront again solved the problem. Just try it. Ant clean all worked after installing it again.
Hope it helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you migrate to a newer version or installed hybris in a new environment/machine and copied there the custom extensions from your version repository? If yes, you need to install the addon again. Unfortunately, this is how hybris installs the addon currently: instead of updating the project.properties
file of your storefront, it updates the project.properties
of your addon which is refreshed in the new version. However, since you do not include the OOTB extensions/addons in version repository, they will not be copied to a new environment or pulled by a developer to a local machine. It means that those updates to the addon/project.properties
will have to be copied to the addon/project.properties
in the new version/environment/machine explicitly (by executing the addoninstall
command as a recommended practice or by copying from addon/project.properties
of the old-version/source machine and pasting into addon/project.properties
of the new-version/target machine).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could be an issue with running ant addoninstall? https://help.hybris.com/1808/hcd/8adf7365866910149ceb975f778d809d.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The issue appeared from one day to another. The addons itself were installed correctly, because my system was running the days before. But something (without any changes) happened and I couldn't figured out what. I also initialized again and it helped for getting the addons back. But perfort clean all deletes the addons again. Now even through initialize the addons don't come back :(
Hi Frederic, ant clean is supposed to remove the addons, so I understand that you're problem is with recreating them during ant sync task (triggered during ant build). Since you're issue seems non-deterministic, maybe check if you're using the addonfilter that's supposed to copy the files between addon and target storefront during runtime.
User | Count |
---|---|
2 | |
2 | |
1 | |
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.