Zummy Posted December 11, 2018 Share Posted December 11, 2018 Hey guys I was wondering if it is possible to run a script from it's class file instead of having to compile to jar. At the moment I can't replace a jar when an instance of osbot is running, I think this is because all my scripts have the same class dependencies (my own api). It's also causing these errors: Quote Link to comment Share on other sites More sharing options...
dreameo Posted December 11, 2018 Share Posted December 11, 2018 Yes Quote Link to comment Share on other sites More sharing options...
Zummy Posted December 11, 2018 Author Share Posted December 11, 2018 On 12/11/2018 at 8:58 PM, dreameo said: Yes Expand Could you tell me how? I'm using Intellij. Quote Link to comment Share on other sites More sharing options...
IDontEB Posted December 12, 2018 Share Posted December 12, 2018 On 12/11/2018 at 9:04 PM, Zummy said: Could you tell me how? I'm using Intellij. Expand For intellij even though it says failed to delete the artifact or whatever, it still replaces the jar. Just press refresh in the script selector and run the script again. Quote Link to comment Share on other sites More sharing options...
dreameo Posted December 12, 2018 Share Posted December 12, 2018 On 12/11/2018 at 9:04 PM, Zummy said: Could you tell me how? I'm using Intellij. Expand Just have the class files in the script folder Quote Link to comment Share on other sites More sharing options...
Zummy Posted December 12, 2018 Author Share Posted December 12, 2018 On 12/12/2018 at 12:56 AM, dreameo said: Just have the class files in the script folder Expand Then I get this error: Quote Link to comment Share on other sites More sharing options...
dormic Posted December 12, 2018 Share Posted December 12, 2018 (edited) This is my structure Edited December 12, 2018 by dormic 1 Quote Link to comment Share on other sites More sharing options...
dreameo Posted December 12, 2018 Share Posted December 12, 2018 On 12/12/2018 at 11:36 AM, Zummy said: Then I get this error: Expand Something is wrong on your end Create a skeleton script and try it out, you will see it works fine. Quote Link to comment Share on other sites More sharing options...