SAP / commerce-gradle-plugin

Gradle plugins for the full development lifecycle of a SAP Commerce project
Apache License 2.0
33 stars 12 forks source link

HybrisAntTask doesn't work with SAP JVM #10

Closed mpern closed 5 years ago

mpern commented 5 years ago
> Task :createDefaultConfig FAILED
Task ':createDefaultConfig' is not up-to-date because:
  Task has not declared any outputs despite executing actions.
Starting process 'command '/SAPDevelop/tools/jdk/sapjvm_8/bin/java''. Working directory: /.../hybris/bin/platform Command: /..//sapjvm_8/bin/java -Dant.home=/.../hybris/bin/platform/apache-ant -Dawt.toolkit=sun.lwawt.macosx.LWCToolkit -Dcom.sap.vm.codeline=81_REL -Dcom.sap.vm.compressedoops=true -Dcom.sap.vm.profilingserver=true -Dcom.sap.vm.type=opt -Dcom.sap.vm.version=10 -Dfile.encoding.pkg=sun.io -Dfile.separator=/ -DgopherProxySet=false -Dinput.template=develop -Djava.awt.graphicsenv=sun.awt.CGraphicsEnvironment -Djava.awt.printerjob=sun.lwawt.macosx.CPrinterJob <a lot more JVM flags> -cp /SAPDevelop/projects/hybris-gradle/sapjvm-test/hybris/bin/platform/apache-ant/lib/ant-launcher.jar org.apache.tools.ant.launch.Launcher -Dmaven.update.dbdrivers=false
Successfully started process 'command '/.../sapjvm_8/bin/java''
Error: Could not find or load main class org.apache.tools.ant.launch.Launcher
:createDefaultConfig (Thread[Execution worker for ':',5,main]) completed. Took 0.243 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':createDefaultConfig'.
> Process 'command '/SAPDevelop/tools/jdk/sapjvm_8/bin/java'' finished with non-zero exit value 1
mpern commented 5 years ago

fixed in v1.3.2

https://github.com/sap-commerce-tools/commerce-gradle-plugin/releases/tag/v1.3.2