Hybris安装中缺少build.xml错误

时间:2018-01-30 09:37:21

标签: gradle ant hybris

我正在尝试安装Hybris 6.6。我在尝试执行时收到以下错误:

install.bat -r b2c_acc_plus

我得到的错误是:

c:\Practice\installer>install.bat -r b2c_acc_plus
Java version: 1.8.0_152
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
        at build_3c3xvl01rtn1sabh2yuajgw9g.run(C:\Practice\installer\recipes\b2c_acc_plus\build.gradle:124)
:recipes/b2c_acc_plus:setup
Executing: createConfig...
Buildfile: build.xml does not exist!
Build failed
Could not execute createConfig ant target
:recipes/b2c_acc_plus:setup FAILED

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Practice\installer\recipes\b2c_acc_plus\build.gradle' line: 128

* What went wrong:
Execution failed for task ':recipes/b2c_acc_plus:setup'.
> java.io.FileNotFoundException: C:\Practice\hybris\config\local.properties (The system cannot find the path specified)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1.798 secs
Problem with java process - finished with non-zero exit code (1)

我尝试找到我必须放置build.xml的位置,我也找不到相同的位置。

尝试使用 b2c_acc 配方进行安装时,安装程​​序会抛出相同的错误。似乎没什么用。任何帮助表示赞赏。

编辑:

已添加解决方案。感谢所有帮助过的人。 :)

1 个答案:

答案 0 :(得分:0)

我发现还有另一种方法可以完成它。

你可以去list.__eq__(self, other)

super.equals(other)

然后是

%hybris_home_dir%/hybris/bin/platform