on ‎2019 Mar 02 8:58 PM
I'm moving my project to my new computer with the help of the MacBook mojava migration assistant. I am getting below error while trying to ant all/ ant clean all / ant updatesystem. I can just do "ant server ". I am using hybris 6.6
Request clarification before answering.
Instead of using a migrator, I would install JDK 8 for Mac on my MacBook and then simply copy hybris-root folder to it from the other machine.
Please note that the error that you are getting is misleading.
/Users/s.sinek/Developer/hybris.ebebek.com_66/bin/platform/resources/ant/antmacros.xml:798: java.lang.IllegalStateException: Index addressErpIdIndex for type Address on [erpid] declared at ((ebebekcore))::YIndex[ebebekcore-items.xml:1070(IndexTagListener)] based on attribute 'erpid' which is not available for the type Address
According to the error, in ebebekcore-items.xml,an index has been declared on the attribute, erpid which is not available. It gives an impression like some extension is missing in your localextensions.xml which may not be the case.
Please try changing the language/locale to English in MacBook System Preferences, restarting the machine, changing permissions, trying as a root user etc. Your problem is similar to the one mentioned at https://answers.sap.com/questions/12756470/build-failed-during-ant-all-process.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi , thank you for your answer but I'm still getting the same error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
build: [ycodegenerator] Ignoring duplicate extension cispayment at /Users/s.sinek/Developer/hybris.ebebek.com_66/bin/ext-addon/cispayment because it's configured at /Users/s.sinek/Developer/hybris.ebebek.com_66/bin/custom/ext-addon/cispayment. [ycodegenerator] Ignoring duplicate extension cisclient at /Users/s.sinek/Developer/hybris.ebebek.com_66/bin/ext-addon/cisclient because it's configured at /Users/s.sinek/Developer/hybris.ebebek.com_66/bin/custom/ext-addon/cisclient. [ycodegenerator] --------------------------------------------------------------- [ycodegenerator] Warning: you're using at least one deprecated extension! [ycodegenerator] Please note that they may not be available in future releases. [ycodegenerator] [ycodegenerator] Deprecated extensions: [acceleratorcmshmc, acceleratorserviceshmc, basecommercehmc, btghmc, classificationsystemshmc, cms2hmc, commercesearchhmc, commerceserviceshmc, customerreviewhmc, hmc, importcockpithmc, lucenesearchhmc, mobileserviceshmc, platformhmc, promotionshmc, sapcoreconfigurationhmc, sapcoreodata, sapmodelhmc, saporderexchangehmc, sapproductavailabilityhmc, solrfacetsearchhmc, subscriptionserviceshmc, ticketsystemhmc, voucherhmc] [ycodegenerator] --------------------------------------------------------------- [ycodegenerator] 0 [main] INFO de.hybris.bootstrap.codegenerator.CodeGenerator - Starting code generation ... [ycodegenerator]
BUILD FAILED /Users/s.sinek/Developer/hybris.ebebek.com_66/bin/platform/build.xml:20: The following error occurred while executing this line: /Users/s.sinek/Developer/hybris.ebebek.com_66/bin/platform/resources/ant/compiling.xml:88: The following error occurred while executing this line: /Users/s.sinek/Developer/hybris.ebebek.com_66/bin/platform/resources/ant/antmacros.xml:795: The following error occurred while executing this line: /Users/s.sinek/Developer/hybris.ebebek.com_66/bin/platform/resources/ant/antmacros.xml:798: java.lang.IllegalStateException: Index addressErpIdIndex for type Address on [erpid] declared at ((ebebekcore))::YIndex[ebebekcore-items.xml:1070(IndexTagListener)] based on attribute 'erpid' which is not available for the type Address at de.hybris.bootstrap.typesystem.YIndex.validate(YIndex.java:77) at de.hybris.bootstrap.typesystem.YTypeSystem.validate(YTypeSystem.java:383) at de.hybris.bootstrap.typesystem.YTypeSystemLoader.validate(YTypeSystemLoader.java:596) at de.hybris.bootstrap.typesystem.YTypeSystemSource.readTypeSystem(YTypeSystemSource.java:134) at de.hybris.bootstrap.typesystem.YTypeSystemSource.getTypeSystem(YTypeSystemSource.java:63) at de.hybris.bootstrap.codegenerator.jalo.JaloClassGenerator.generateClasses(JaloClassGenerator.java:47) at de.hybris.bootstrap.codegenerator.CodeGenerator.generateJaloClasses(CodeGenerator.java:207) at de.hybris.bootstrap.codegenerator.CodeGenerator.generate(CodeGenerator.java:179) at de.hybris.bootstrap.codegenerator.CodeGenerator.generate(CodeGenerator.java:329)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 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.