zeepzoop 3 Share Posted June 23, 2016 Using intellij, cannot rebuild the .jar file while the dreambot client is running. While the client is running, I also can't delete the .jar file in the file explorer. This means i have to open/close the client every time I want to rebuild the script which is really annoying for debugging . Any solution? Link to comment Share on other sites More sharing options...
pharaoh 125 Share Posted June 23, 2016 your script.jar? it says it cant rebuild but it does just refresh ur scripts still and the new version will be there Link to comment Share on other sites More sharing options...
zeepzoop 3 Author Share Posted June 23, 2016 i can't modify contents of C:\Users\zeepzoop\DreamBot\Scripts while dreambot is running. I want to rebuild a .jar inside this script folder. I get an error in intellij when building artifact and an error when I try to delete the .jar in the windoes file explorer Thanks for quick reply Link to comment Share on other sites More sharing options...
Mad 86 Share Posted June 23, 2016 i can't modify contents of C:\Users\zeepzoop\DreamBot\Scripts while dreambot is running. I want to rebuild a .jar inside this script folder. I get an error in intellij when building artifact and an error when I try to delete the .jar in the windoes file explorer Thanks for quick reply are you exporting the client with the jar or something? cuz u shouldnt Link to comment Share on other sites More sharing options...
Lifeinvader 1 Share Posted July 10, 2016 I have the same problem as the OP described. Warning:Artifacts builder: Cannot delete file 'C:/Users/USER/DreamBot/Scripts/SCRIPT.jar' Once the Client has been started, the local script stays locked/loaded and will not be able to be replaced by a newer version. Are there any work-arounds / fixes on Windows 10, Intellij 2016.1.3? Since this really slows down and is uninviting to create scripts. Link to comment Share on other sites More sharing options...
slasso 27 Share Posted July 10, 2016 It works on eclipse. Make sure your script is stopped in the client Link to comment Share on other sites More sharing options...
Lifeinvader 1 Share Posted July 10, 2016 It works on eclipse. Make sure your script is stopped in the client The script is stopped or is not even started. I also can't delete the .jar in the scripts folder manually, so I highly doubt changing IDE would work, but I'll give it a shot. Link to comment Share on other sites More sharing options...
Hopewelljnj 46 Share Posted July 10, 2016 The script is stopped or is not even started. I also can't delete the .jar in the scripts folder manually, so I highly doubt changing IDE would work, but I'll give it a shot. I have no issue with this in NetBeans either. Wel.... As long as I copy and paste the file in the scripts folder rather than drag and drop. See if there's an option in the artifacts builder to replace a file or to not delete it. That may be the issue. Link to comment Share on other sites More sharing options...
Lifeinvader 1 Share Posted July 10, 2016 I have no issue with this in NetBeans either. Wel.... As long as I copy and paste the file in the scripts folder rather than drag and drop. See if there's an option in the artifacts builder to replace a file or to not delete it. That may be the issue. Are you able to manually delete any local script .jar in script directory when you dreambot client is active? I find it hard to believe that an IDE would be able to delete the jar while DreamBot somehow still has loaded/locked it. Link to comment Share on other sites More sharing options...
Silabsoft 13 Share Posted July 10, 2016 acutally I have this issue as well on windows although I'm not building directly into the script directory the Jar is still in use even when the script is stopped. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.