You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document headless validation workflow: create a fresh blank project with
mx create-project, apply MDL changes, validate with mx check. Includes
CE0066 scenario test example and updated checklist.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use `mx check` to validate projects without Studio Pro. This catches consistency errors (CE0066, CE1613, etc.) that would otherwise only show up when opening in Studio Pro.
41
+
42
+
```bash
43
+
# Find the mx binary
44
+
MX=~/.mxcli/mxbuild/*/modeler/mx
45
+
46
+
# Check the project
47
+
$MX check /path/to/app.mpr
48
+
```
49
+
50
+
Expected output for a clean project:
51
+
```
52
+
Checking app for errors...
53
+
The app contains: 0 errors.
54
+
```
55
+
56
+
### 5. Isolated Testing with mx create-project
57
+
58
+
For testing changes in isolation without modifying existing test projects, create a fresh blank project:
59
+
60
+
```bash
61
+
# Create a fresh Mendix project in a temp directory
62
+
cd /tmp/test-workspace
63
+
$MX create-project
64
+
65
+
# This creates a full Mendix project structure:
66
+
# App.mpr, mprcontents/, javascriptsource/, javasource/, etc.
67
+
# IMPORTANT: Run from the target directory — it creates files in the CWD.
0 commit comments