'Hybris how to prevent generation of addonsrc and commonwebsrc during compilation?
We have a structure where we have 2 modulegen extensions testfacades and teststorefront. We have also generated testwebservices extension from ycommercewebservices. We have installed orderselfserviceaddon to teststorefront.
Now when we are adding testfacades dependency to testwebservices, we are getting compile error below:
[echo] Compile addonsrc testwebservices - orderselfserviceaddon
[yjavac] Compiling 7 source files to C:\carrefour\HybrisFood\hybris\bin\custom\carrefour\testwebservices\web\webroot\WEB-INF\classes
[yjavac] ----------
[yjavac] 1. ERROR in C:\carrefour\HybrisFood\hybris\bin\custom\carrefour\testwebservices\web\addonsrc\orderselfserviceaddon\de\hybris\platform\orderselfserviceaddon\controllers\pages\AccountReturnsPageController.java (at line 16)
[yjavac] import de.hybris.platform.acceleratorstorefrontcommons.annotations.RequireHardLogIn;
[yjavac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[yjavac] The import de.hybris.platform.acceleratorstorefrontcommons.annotations cannot be resolved
Why its happening? How can I prevent this folders to generate during build?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
