Issue
In Studio Pro 11.12.0, creating a new Java action does not automatically generate the corresponding .java file in the javasource/{module name}/actions subdirectory of the app directory after saving the project and deploying the app to the deployment directory via Studio Pro > App menu > Deploy for Eclipse.
As a result, the Java action implementation file is missing from the project.
Environment
Studio Pro 11.12.0
Cause
This is a confirmed issue in Studio Pro 11.12.0. Saving the project and selecting Deploy for Eclipse without first running the project does not trigger the generation of the .java file for newly created Java actions.
Solution/Workaround
As a workaround, run the project before using Deploy for Eclipse to trigger the generation of the .java skeleton file:
- Add a Java action in Studio Pro
- Save and run the project
- From the App menu, select Deploy for Eclipse
The .java file will now be present in the project directory. Mendix plans to release a fix in Studio Pro 11.12.1 and 11.13.0.
Internal information related
- 282363
- C0295GTBG12
- CTRL-3688
Additional information
Mendix documentation:
0 Comments