TornadoVM icon indicating copy to clipboard operation
TornadoVM copied to clipboard

Improve instructions for integration with IntelliJ

Open jjfumero opened this issue 3 years ago • 1 comments
trafficstars

Is your feature request related to a problem? Please describe.

TornadoVM lacks of documentation about how to setup client/user applications to compile and run directly within the IDE. Related issues:

  • #189
  • #188

Describe the solution you'd like

Provide the following instructions for running client/user applications on IntelliJ:

  • Compile maven applications that use TornadoVM within the IDE
  • Run TornadoVM applications within the IDE.
  • Run TornadoVM examples suite within the IDE
  • Run the TornadoVM unittests within the IDE

This task is only documentation and should be explained in the docs/sources/ide-integration.rst document. The document is automatically rendered by the read-the-docs service.

Describe alternatives you've considered

Not applicable

Additional context Not applicable

jjfumero avatar Jul 10 '22 07:07 jjfumero

I had something easy. Where you can just execute a script text after create it from the run configuration pane. 1). Run/Debug configurations > '+' press > Shell script > Select script text Radio button. 2). In script line box type "tornado -cp <class-path,jar> ". 3). Make sure the working directory is set to the current project path. 4). Now go to Before launch section > '+' press button > select maven > In command line write "clean package" and press save. 5). All done. 6). Now, Just press the run button from top and enjoying reading unreasonable errors of TornadoVM. (Sorry for that) 7). If the class not found exception comes use -m before .

MaardinK522 avatar Nov 29 '23 02:11 MaardinK522