on 2018 Oct 12 10:46 AM
I was able to successfully install the public sector addon on my xyzstorefront by running below commands.
Addon Commands :
ant modulegen -Dinput.module=accelerator -Dinput.name=coj -Dinput.package=de.hybris.coj -Dinput.template=develop
ant addoninstall -Daddonnames="publicsectoracceleratoraddon" -DaddonStorefront.publicsectorstore="xyzstorefront"
After that Getting below build error while perfort clean all.
Error :
[apply] js: "C:\Publicsector\hybris\bin\custom\xyz\xyzstorefront\web\webroot\WEB-INF\lib\lessc-rhino-1.7.3.js", line 61: exception from uncaught JavaScript throw: Error: FileError: 'ybase.less' wasn't found in C:\Publicsector\hybris\bin\platform\${ext.yacceleratorstorefront.path}\web\webroot\WEB-INF_ui-src\addons\publicsectoracceleratoraddon\responsive\themes\psalpha\less\style.less on line 5, column 1:
[apply] 4
[apply] 5 @import "../../../../../../responsive/lib/ybase-0.1.0/less/ybase.less";
[apply] 6 @import "../../../../../../responsive/lib/ybase-0.1.0/less/addons.less";
[apply]
Please any one help me.
Request clarification before answering.
I was able to resolve it by modifying the buildback.xml of publicsectoracceleratoraddon commenting out the bewlo :
<apply dir="${ext.@{addonStorefront}.path}/web/webroot/WEB-INF/_ui-src/addons/publicsectoracceleratoraddon/responsive/themes/" executable="java" parallel="false" failonerror="true" force="true">
<!-- Give the input bundle of less files-->
<fileset dir="${ext.@{addonStorefront}.path}/web/webroot/WEB-INF/_ui-src/addons/publicsectoracceleratoraddon/responsive/themes/">
<include name="**/style.less" />
</fileset>
<arg value="-jar" />
<arg path="${tool.rhino}" />
<arg value="-f" />
<arg path="${tool.less}" />
<arg path="${tool.lessc}" />
<srcfile />
<!-- Output the compiled css file with corresponding name -->
<!-- <regexpmapper from="(.*)/less/(.*)\.less$$" to="${ext.yacceleratorstorefront.mapperToPath}/web/webroot/_ui/addons/publicsectoracceleratoraddon/responsive/theme-\1/css/\2.css" handledirsep="yes"/> -->
<regexpmapper from="(.*)/less/(.*)\.less$$" to="${ext.publicsectoracceleratoraddon.mapperToPath}/acceleratoraddon/web/webroot/_ui/responsive/theme-\1/css/\2.css" handledirsep="yes"/>
<targetfile />
</apply>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey were you able to resolve this issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.