I was looking at getting tests to run from the IDE in KNOX-1517. There are a lot of assumptions in the Knox code about basedir being set correctly and that modules are packaged correctly. That effort has stalled for a bit while I think about all the moving pieces. The big issue is that Knox assumes everything is a file but when packaged as jars there aren't actual files. This is worked around my the "unpack" step in the packaging. This is also why "mvn test" by itself doesn't work.
I don't have much info about running the Launcher directly from the IDE. I typically remote debug from IntelliJ to Knox by modifying gateway.sh to add the correct parameters on startup. Kevin Risden On Thu, Oct 11, 2018 at 4:43 AM Lars Francke <[email protected]> wrote: > Hi, > > I've been wondering if/how you run Knox from an IDE? I'm using IntelliJ and > would love to be able to start the Launcher from within the IDE. I didn't > play around too much but it didn't seemed super trivial. > > I also see this issue <https://issues.apache.org/jira/browse/KNOX-340>. > > Any hints would be appreciated. > > Cheers, > Lars >
