WhoKnew Posted January 9, 2017 Share Posted January 9, 2017 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 Quote Link to comment Share on other sites More sharing options...
Sofakin Posted January 9, 2017 Share Posted January 9, 2017 (edited) 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, 2017 by SofaKin Quote Link to comment Share on other sites More sharing options...
vindictivebud Posted January 9, 2017 Share Posted January 9, 2017 http://osbot.org/for...arted-by-apaec/ Quote Link to comment Share on other sites More sharing options...
Stimpack Posted January 9, 2017 Share Posted January 9, 2017 Artifacts in project settings then build artifact Quote Link to comment Share on other sites More sharing options...
Explv Posted January 9, 2017 Share Posted January 9, 2017 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 Quote Link to comment Share on other sites More sharing options...