Java Action code vanished when deployed for eclipse
I wrote a java action to perform a certain functionality in a project and I exported it and saved an mpk file with me. Now I am trying to import it into another project via ‘Import document from file’ and when I deploy the project for eclipse, it shows no code in eclipse. It just show the new java action generated code that has BEGIN USER CODE HERE. Is there any way I get the code out via the mpk directly? Or how do I get it working using the method I am using. Please help
Did you export the module? You should be able to do the folowwing:
- Export module where the java action is in
- Import module in new project by right clicking the top item in your Project Explorer in Studio Pro.
I would use “Export module package” as this also lets you select any Java Jar files your module may need as part of the export process. You can then just add this module to your new project.