Flying Low 2 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.
Neffarion 486 Posted September 7, 2016 I Second this. However when i used Eclipse it never had this problem. only with Intellij
Dreamlicker 750 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.
Flying Low 2 Author 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!
Rubick 30 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!
youngf 0 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.