Questions about some API related stuff

Discussion in 'Plugin Development' started by DarkBoni, Jan 25, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    DarkBoni

    Hi there,
    I just developed a small api for managing menus for multiple players in multiplayer.
    Now I want to use it in my plugin, now heres the problem:
    When I include it in eclipse, i can use the api, but when i export my plugin to test it on my local server, it can't access to the api. Well, I see why it cant, but how should I handle this?
    Copying the api's jar file in the plugin or server directory wont make it..

    Of course I could easily copy the java files of the api into the plugin project, but i think to handle this with an api is much nicer...

    Btw: couldnt find any infos about that in google :confused:
    confused me a little bit, but i think you can help me ;D
     
  2. For eclipse there is an Plugin: FatJar - http://fjep.sourceforge.net/

    This could help you a bit. It injects all jar's that are in the classpath of your project into the same jar when you export the project. So you have your project an all unpacked jars in one. It's a bit imperformant, when you have like 5 plugins, that use it, but i can imagin, that bukkit ignores "external" jars.

    Hope this can increase the usability! ;)

    greetings, w00tklumpWn
     
Thread Status:
Not open for further replies.

Share This Page