Error on windows: cannot run executable found relative to current directory
i303419 opened this issue · 0 comments
i303419 commented
Do you want to request a feature or report a bug?
- Please search existing issues to avoid creating duplicates. https://github.com/SAP/cloud-mta-build-tool/releases.
- Also please test using the
latest
version build to make sure your issue has not already been fixed:
Please provide the following info:
- MBT Version: 3.1
- OS Version: Windows 11
- If possible, provide a link to the project.
Steps to Reproduce:
- I tried on Build tool version 1.2.18 and this bug doesn't exist. But on the latest versions, when you try to build an MTA on windows with a custom command, it throws an error: "Error on windows: cannot run executable found relative to current directory "
- Should be reproducible on any project with a custom command.
- Sample below:
`_schema-version: "3.1"
ID: com.sap.bnac.lco.backsync
version: "0.1.0"
modules:
- name: lco-backsync
type: java
path: lco-backsync
build-parameters:
builder: custom
build-result: build/**/*.jar
commands: [ 'buildMtar.bat' ]`