Skip to Content
0
Former Member
Jan 20, 2015 at 03:55 PM

Getting error building 5.4 using "ant clean all" - new installation

572 Views

Hello,

I am new to Hybris, just installed 5.4 for the first time and trying to build using "ant clean all". I have executed "setantenv.bat" before this command. Build fails with following errors:

[ysetplatformproperties] Error while evaluating file 'C:\hybris\bin\platform\hyb ris\config\localextensions.xml'. Extension 'admincockpit' doesn't specify a path and no scanned extension was matching the name. Please check file C:\hybris\bin \platform\hybris\config\localextensions.xml.

[ysetplatformproperties] java.lang.RuntimeException: Error while evaluating file 'C:\hybris\bin\platform\hybris\config\localextensions.xml'. Extension 'admincoc kpit' doesn't specify a path and no scanned extension was matching the name. Ple ase check file C:\hybris\bin\platform\hybris\config\localextensions.xml.

[ysetplatformproperties] at de.hybris.bootstrap.config.PlatformConfig.rea dConfiguredExtensionsFromXMLFile(PlatformConfig.java:1222) [ysetplatformproperties] at de.hybris.bootstrap.config.PlatformConfig.col lectConfiguredExtensionsFromXMLConfig(PlatformConfig.java:1044) [ysetplatformproperties] at de.hybris.bootstrap.config.PlatformConfig.col lectConfiguredExtensions(PlatformConfig.java:956) [ysetplatformproperties] at de.hybris.bootstrap.config.PlatformConfig.(PlatformConfig.java:142) [ysetplatformproperties] at de.hybris.bootstrap.config.PlatformConfig.get Instance(PlatformConfig.java:131) [ysetplatformproperties] at de.hybris.ant.taskdefs.PlatformConfigAntUtils .loadPlatformConfig(PlatformConfigAntUtils.java:63) [ysetplatformproperties] at de.hybris.ant.taskdefs.PlatformConfigAntUtils .getOrLoadPlatformConfig(PlatformConfigAntUtils.java:39) [ysetplatformproperties] at de.hybris.ant.taskdefs.SetPlatformProperties. setAllProperties(SetPlatformProperties.java:174) [ysetplatformproperties] at de.hybris.ant.taskdefs.SetPlatformProperties. execute(SetPlatformProperties.java:118) [ysetplatformproperties] at org.apache.tools.ant.UnknownElement.execute(U nknownElement.java:292) [ysetplatformproperties] at sun.reflect.GeneratedMethodAccessor4.invoke(U nknown Source) [ysetplatformproperties] at sun.reflect.DelegatingMethodAccessorImpl.invo ke(DelegatingMethodAccessorImpl.java:43) [ysetplatformproperties] at java.lang.reflect.Method.invoke(Method.java:4 83) [ysetplatformproperties] at org.apache.tools.ant.dispatch.DispatchUtils.e xecute(DispatchUtils.java:106) [ysetplatformproperties] at org.apache.tools.ant.Task.perform(Task.java:3 48) [ysetplatformproperties] at org.apache.tools.ant.Target.execute(Target.ja va:435) [ysetplatformproperties] at org.apache.tools.ant.helper.ProjectHelper2.pa rse(ProjectHelper2.java:168) [ysetplatformproperties] at org.apache.tools.ant.taskdefs.ImportTask.impo rtResource(ImportTask.java:230) [ysetplatformproperties] at org.apache.tools.ant.taskdefs.ImportTask.exec ute(ImportTask.java:162) [ysetplatformproperties] at org.apache.tools.ant.UnknownElement.execute(U nknownElement.java:292) [ysetplatformproperties] at sun.reflect.NativeMethodAccessorImpl.invoke0( Native Method) [ysetplatformproperties] at sun.reflect.NativeMethodAccessorImpl.invoke(N ativeMethodAccessorImpl.java:62) [ysetplatformproperties] at sun.reflect.DelegatingMethodAccessorImpl.invo ke(DelegatingMethodAccessorImpl.java:43) [ysetplatformproperties] at java.lang.reflect.Method.invoke(Method.java:4 83) [ysetplatformproperties] at org.apache.tools.ant.dispatch.DispatchUtils.e xecute(DispatchUtils.java:106) [ysetplatformproperties] at org.apache.tools.ant.Task.perform(Task.java:3 48) [ysetplatformproperties] at org.apache.tools.ant.Target.execute(Target.ja va:435) [ysetplatformproperties] at org.apache.tools.ant.helper.ProjectHelper2.pa rse(ProjectHelper2.java:179) [ysetplatformproperties] at org.apache.tools.ant.ProjectHelper.configureP roject(ProjectHelper.java:93) [ysetplatformproperties] at org.apache.tools.ant.Main.runBuild(Main.java: 826) [ysetplatformproperties] at org.apache.tools.ant.Main.startAnt(Main.java: 235) [ysetplatformproperties] at org.apache.tools.ant.launch.Launcher.run(Laun cher.java:280) [ysetplatformproperties] at org.apache.tools.ant.launch.Launcher.main(Lau ncher.java:109) [ysetplatformproperties] Caused by: de.hybris.bootstrap.config.BootstrapConfigEx ception: Extension 'admincockpit' doesn't specify a path and no scanned extensio n was matching the name. Please check file C:\hybris\bin\platform\hybris\config\ localextensions.xml. [ysetplatformproperties] at de.hybris.bootstrap.config.PlatformConfig.cre ateExtensionInfoFromXML(PlatformConfig.java:1397) [ysetplatformproperties] at de.hybris.bootstrap.config.PlatformConfig.rea dConfiguredExtensionsFromXMLFile(PlatformConfig.java:1215) [ysetplatformproperties] ... 32 more

BUILD FAILED C:\hybris\bin\platform\build.xml:20: The following error occurred while executin g this line: C:\hybris\bin\platform\resources\ant\antmacros.xml:113: java.lang.RuntimeExcepti on: Error while evaluating file 'C:\hybris\bin\platform\hybris\config\localexten sions.xml'. Extension 'admincockpit' doesn't specify a path and no scanned exten sion was matching the name. Please check file C:\hybris\bin\platform\hybris\conf ig\localextensions.xml. at de.hybris.bootstrap.config.PlatformConfig.readConfiguredExtensionsFro mXMLFile(PlatformConfig.java:1222) at de.hybris.bootstrap.config.PlatformConfig.collectConfiguredExtensions FromXMLConfig(PlatformConfig.java:1044) at de.hybris.bootstrap.config.PlatformConfig.collectConfiguredExtensions (PlatformConfig.java:956) at de.hybris.bootstrap.config.PlatformConfig.(PlatformConfig.java: 142) at de.hybris.bootstrap.config.PlatformConfig.getInstance(PlatformConfig. java:131) at de.hybris.ant.taskdefs.PlatformConfigAntUtils.loadPlatformConfig(Plat formConfigAntUtils.java:63) at de.hybris.ant.taskdefs.PlatformConfigAntUtils.getOrLoadPlatformConfig (PlatformConfigAntUtils.java:39) at de.hybris.ant.taskdefs.SetPlatformProperties.setAllProperties(SetPlat formProperties.java:174) at de.hybris.ant.taskdefs.SetPlatformProperties.execute(SetPlatformPrope rties.java:118) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java: 168) at org.apache.tools.ant.taskdefs.ImportTask.importResource(ImportTask.ja va:230) at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:162)

     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:435) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java: 179) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav a:93) at org.apache.tools.ant.Main.runBuild(Main.java:826) at org.apache.tools.ant.Main.startAnt(Main.java:235) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) Caused by: de.hybris.bootstrap.config.BootstrapConfigException: Extension 'admin cockpit' doesn't specify a path and no scanned extension was matching the name. Please check file C:\hybris\bin\platform\hybris\config\localextensions.xml. at de.hybris.bootstrap.config.PlatformConfig.createExtensionInfoFromXML( PlatformConfig.java:1397) at de.hybris.bootstrap.config.PlatformConfig.readConfiguredExtensionsFro mXMLFile(PlatformConfig.java:1215) ... 32 more