Jump to content

Building jar problems


hero3128

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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