Flying Low 2 Share Posted September 7, 2016 I am writing local scripts using IntelliJ IDEA. My module is setup with an artifact to output a JAR file to the DreamBot scripts folder, whenever I build the module. This works fine when DreamBot is not running. The problem is that when I have the DreamBot client running, IntelliJ states that it cannot overwrite the existing JAR file. This means that whenever I update my script, I need to first quit DreamBot in order to build the JAR. Is there anyway around this? I would like to be able to update my JAR without having to quit DreamBot. Link to comment Share on other sites More sharing options...
Neffarion 486 Share Posted September 7, 2016 I Second this. However when i used Eclipse it never had this problem. only with Intellij Link to comment Share on other sites More sharing options...
Dreamlicker 750 Share Posted September 7, 2016 Make sure your script is stopped. IntelliJ will say that the script can't be deleted, but if the script is stopped and you build the artifact it will replace it. Just make sure to hit Refresh All. Seems weird but it works. Link to comment Share on other sites More sharing options...
Flying Low 2 Author Share Posted September 7, 2016 Make sure your script is stopped. IntelliJ will say that the script can't be deleted, but if the script is stopped and you build the artifact it will replace it. Just make sure to hit Refresh All. Seems weird but it works. That works. Thanks so much! Link to comment Share on other sites More sharing options...
Dreamlicker 750 Share Posted September 7, 2016 That works. Thanks so much! No problem Link to comment Share on other sites More sharing options...
Rubick 30 Share Posted July 6, 2017 Make sure your script is stopped. IntelliJ will say that the script can't be deleted, but if the script is stopped and you build the artifact it will replace it. Just make sure to hit Refresh All. Seems weird but it works. Sorry for the gravedigging, but I just HAD to thank you for this info. So useful when debugging scripts! Link to comment Share on other sites More sharing options...
youngf 0 Share Posted November 20, 2017 Thank you helped me for debugging aswell! so tried of having to restart and reload dreambot. forgot i had fresh setting on so loading took forever. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.