<-- Back

The Deploy for Eclipse action in Studio Pro 11.12.0 does not create the underlying .java file for a new java action

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:

  1. Add a Java action in Studio Pro
  2. Save and run the project
  3. 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: 

Have more questions? Submit a request

0 Comments

Article is closed for comments.

To provide feedback, please open a ticket here. Don't forget to include the article's URL along with the feedback you would like to provide.