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 Script Helper plugin) is _super_ handy (and far more than I would expect of any given platform), I find myself _really_ wanting more functionality to assist in debugging. I've recently invested in IntelliJ, and it's functionalities have helped a TON with some of our automations using the LM API.
It seems well within the realm of possibility to incorporate some of the collector libraries into IntelliJ, but I imagine it's not necessarily drag and drop.
Has anyone tried this yet?
@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.