Jump to content

Building jar problems


Recommended Posts

Posted

Okay so i build my .jar in IntelliJ and test out the script etc. When i want to build the .jar again it keeps saying 

Warning:Artifacts builder: Cannot delete file 'OSBot/Scripts/hScripts.jar'

Is their a workaround for this? The script is not running while im trying to rebuild it. Its frustrating having to re-open the client each new build.

Posted

You can select your script's root directory in the project's view, hit F4, go to Artifacts, and change the "Name" at the top and it overwrite your old jar.

This issue stems from the fact that the client loads the local script jars into memory or constantly is using them somehow therefore Intellij cannot overwrite them.

Posted (edited)

You can select your script's root directory in the project's view, hit F4, go to Artifacts, and change the "Name" at the top and it overwrite your old jar.

This issue stems from the fact that the client loads the local script jars into memory or constantly is using them somehow therefore Intellij cannot overwrite them.

Okay so by the logic, even if i do what you told me i still would have to restart the client each time i want to test out the script for bug fixes etc...

 

So its OSBot's fault? Is there no workaround for this?

Edited by hero3128
  • 3 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...