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

Ant all/ant clean all/ ant updatesytem.. Build Failed

Former Member
0 Likes
1,610

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

Accepted Solutions (1)

Accepted Solutions (1)

arvind-kumar_avinash
Active Contributor
0 Likes

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

Former Member
0 Likes

@Arvind two computers also mac . We have code blocks is "erpid" since 2015. ebebekcore-items.xml 's are exactly the same. old computer is success . new computer is build failed. I think , I was using as a root user on the old computer in command line. Do you think the effect?

arvind-kumar_avinash
Active Contributor
0 Likes

I have updated my answer with the link to a similar question. There is no harm trying as a root user.

Former Member
0 Likes

it's finally happened thank you for your answer :) My problem is changed machine language .. I've threw format and re-installed everything and translated the language into English.

arvind-kumar_avinash
Active Contributor
0 Likes

You are most welcome.

Answers (2)

Answers (2)

Former Member
0 Likes

Hi , thank you for your answer but I'm still getting the same error

Former Member
0 Likes

Did you get the solution for the same?

Former Member
0 Likes

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)

Ask a Question