1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Question External dependencies

Discussion in 'Developer Support' started by TheVTM, Apr 1, 2016.

  1. TheVTM

    Joined:
    Mar 29, 2016
    Messages:
    54
    Likes Received:
    7
    I'm trying to use Jackson (java json library) in my bot.

    It works great when debbuging because I have the jar in my working directory.

    The problem is that its not being exported so the module will be missing in the end user.

    How do I export the module/library?
     
  2. Qosmiof2

    Qosmiof2 I've been called a god before.

    Joined:
    Aug 5, 2014
    Messages:
    3,212
    Likes Received:
    924
    I don't think @Cloud will allow that as he has to read every single line of code from the used external library.
     
  3. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,938
    Likes Received:
    1,266
    Use a minimal JSON parser and include it in your repository. Jackson is likely overkill for what you're trying to do.
     
  4. TheVTM

    Joined:
    Mar 29, 2016
    Messages:
    54
    Likes Received:
    7
    So... use json-simple and copy their src into my repo?
     
  5. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,938
    Likes Received:
    1,266
    Yes, but this one is more actively maintained.
     
    TheVTM likes this.
  6. TheVTM

    Joined:
    Mar 29, 2016
    Messages:
    54
    Likes Received:
    7
    Thank you!!
     

Share This Page

Loading...