January 9, 20179 yr Getting back into coding, and it's been a long time :p lol Short story short, I want to test out my script, but I need it in a .jar How do I build the script to a .jar file through IntelliJ . I know there is a way, did it in the past. Any help is awesome
January 9, 20179 yr http://osbot.org/forum/topic/58775-a-beginners-guide-to-writing-osbot-scripts-where-to-get-started-by-apaec/ Look here under Part 2 and 4. Edited January 9, 20179 yr by SofaKin
January 9, 20179 yr Getting back into coding, and it's been a long time :p lol Short story short, I want to test out my script, but I need it in a .jar How do I build the script to a .jar file through IntelliJ . I know there is a way, did it in the past. Any help is awesome 1) Right click on the module and select "Open Module Settings", or press F4, to open the module settings window. 2) Go the the Artifacts section:. 3) Select the green cross, and select JAR -> Empty 4) - Set the name of the output.jar file, change the Output directory to the OSBot/Scripts directory, and move the 'module name' compile output from the right hand side under Available Elements, to the left hand side in your .jar: 5) Select Apply and close the window 6) To build the .jar first select the Build menu at the top, and select Build Artifacts, then select build in the menu that appears
Create an account or sign in to comment