Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Export Each Time I Modify Script


    EncoreAspire

    Recommended Posts

    Posted

    Its getting annoying. There has to be a quicker way than exporting the new version of the jar file each time i change something right? Ive been trying to find the option but I'm failing. Any suggestions?

    Posted

    Its getting annoying. There has to be a quicker way than exporting the new version of the jar file each time i change something right? Ive been trying to find the option but I'm failing. Any suggestions?

    What IDE are you using? I can do it with two keystrokes in eclipse

    Posted

    What IDE are you using? I can do it with two keystrokes in eclipse

    Please tell me too!

     

    Also, do you know how to export the jar file to the current project name? Every time i export a project other than the current one i work on i have the change the export name or else i'll override the current one i work on =/

    Posted

    Please tell me too!

     

    Also, do you know how to export the jar file to the current project name? Every time i export a project other than the current one i work on i have the change the export name or else i'll override the current one i work on =/

    That I'm not sure. It does that to me too. 

     

    im using eclipse aswell, what are the keystroke?!? thatd be aweomse!

    In Window->Preferences, search 'Key'.

    Where it allows you to filter for key bindings, search 'jar'. The one you want to bind is "Export (JAR file)". Make sure 'when' says "In Windows". I have mine bound to cmd+1 (MacOS) or Alt+1 (Windows).

    Here is a screenshot:

    http://imgur.com/idNvWtn

     

    If you highlight the project you want to export to a jar, you don't have to check the resources to export in the top left box, the resources will already be set and checked.

    Posted

    That I'm not sure. It does that to me too. 

     

    In Window->Preferences, search 'Key'.

    Where it allows you to filter for key bindings, search 'jar'. The one you want to bind is "Export (JAR file)". Make sure 'when' says "In Windows". I have mine bound to cmd+1 (MacOS) or Alt+1 (Windows).

    Here is a screenshot:

    http://imgur.com/idNvWtn

     

    If you highlight the project you want to export to a jar, you don't have to check the resources to export in the top left box, the resources will already be set and checked.

    youre awesome! i cant get it select the files or me though =/ what exactly are you highlighting? the project folder on the left?  

    Posted

    youre awesome! i cant get it select the files or me though =/ what exactly are you highlighting? the project folder on the left?  

    Yea highlight the project folder on the left you want to build the jar from and hit your hotkey. It should auto select the resources and you just hit enter (assuming you have the path set to DreamBot\scripts\yourscript.jar)

    Posted

    Yea highlight the project folder on the left you want to build the jar from and hit your hotkey. It should auto select the resources and you just hit enter (assuming you have the path set to DreamBot\scripts\yourscript.jar)

    at the bottom of the preferences for binding it to alt + 1, mine is set to " When:editing java source "

     

    is that the same as yours?

    Posted

    at the bottom of the preferences for binding it to alt + 1, mine is set to " When:editing java source "

     

    is that the same as yours?

    when in windows

    Archived

    This topic is now archived and is closed to further replies.

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.