Question External dependencies

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

  1. TheVTM

    Joined:
    Mar 29, 2016
    Messages:
    49
    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 Qosidog3 - I write bots not tragedies.

    Joined:
    Aug 5, 2014
    Messages:
    1,040
    Likes Received:
    326
    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,430
    Likes Received:
    1,008
    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:
    49
    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,430
    Likes Received:
    1,008
    Yes, but this one is more actively maintained.
     
    TheVTM likes this.
  6. TheVTM

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

Share This Page

Loading...