SAP/cloud-mta-build-tool

Error on windows: cannot run executable found relative to current directory

i303419 opened this issue · 0 comments

Do you want to request a feature or report a bug?

Please provide the following info:

  • MBT Version: 3.1
  • OS Version: Windows 11
  • If possible, provide a link to the project.

Steps to Reproduce:

  1. 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 "
  2. Should be reproducible on any project with a custom command.
  3. 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' ]`