Forum Discussion

AustinC's avatar
AustinC
Icon for Neophyte rankNeophyte
3 years ago

Collector Libraries + IntelliJ/Other IDE?

Has anyone monkeyed with integrating Collector Libraries with IntelliJ or another IDE? I'm reaching a point where some of my batchscripts are pretty complex, and while the Debug mode (with Debug Sc...
  • Mike_Rodrigues's avatar
    3 years ago

    @Austin Culbertson I did this when I was a Module Engineer.

    If you create a "Library", you can point to a folder with all of your collector JARs ( I just SCPed the logicmonitor/agent/lib directory from my collector to my laptop ). IntelliJ will read through, and then you'll be able to autocomplete and see everything the collector has to offer. We have some internal documentation I can see about getting published, but it's fairly easy to do.


    Not everything works, notably the built-in Http convenience class, as it expects some local files.

    You may need to delete the xml-apis JAR or IntelliJ will complain, if you're doing XML parsing.