Hi Matt,
If mx show-app-version
or mx set-app-version
hangs or silently fails, try this checklist:
Match versions – The mx
CLI must match the Mendix .mpr
file version. Use the mx
from the same Studio Pro install folder as your app version.
Test responsiveness – Run mx show-app-version --help
to confirm the CLI is working, then check the return code (%ERRORLEVEL%
or $?
).
Run locally first – Test outside CI/CD to see if it’s an environment issue.
Check Java & PATH – Ensure a compatible JDK is available and correctly configured.
Kill lingering processes – Some builds leave java.exe
or watchman
running, which can cause hangs. In PowerShell:
Get-Process | Where-Object { $_.Name -eq "watchman" } | Stop-Process
These steps often resolve silent failures when using mx
commands in scripts or pipelines.