Hello - I work with wbpaley and am working on refining our intellij build.working for KNIME extension plugins.
I have one big goal with the below sub bits.
1 - Build the plugin class files. (done)
2 - create the plugin .jar file. (done - I believe)
3 - deploy the plugin .jar file properly (into dropins?)
4 - run eclipse/KNIME so it reloads the plugin for testing
eventually run with remote debugging but first simply running it.
not having to reload eclipse/KNIME from scratch every time desirable to speed
up build/test cycle but this is not needed initially
(ie: dynamically reload plugin)
Note the above is done from the “command line” from our build system not via the Eclipse GUI. We use intellij but have it spawn our own build scripts.
so far I have #1 and #2 working. #3 maybe but can’t test,
I created the jar file to the Eclipse plugin spec for what can be put in “dropins” ( I think, eclipse wiki and google information is a bit all over the map and noisy )
Well eclipse did not load the plugin I built when it was put in the eclipse/dropins folder, and no errors are reported in the .log file on eclipse or KNIME startup.
So to back off to the simple case, I loaded the sample NumberFormatter project as is and used the
Export > Deployable Plug-ins and fragments" feature for that project and it writes out a .jar file that is supposedly proper to put in dropins to have it loaded.
I copy the resultant jar file to the “dropins” folder, and restart eclipse.
It does not load the plugin and no errors are reported
So I am now stuck on #3 as I can’t get the virgin example project to load “manually” as specified you can do by putting plugins in the “dropins” folder.
Should I start a new topic for this or continue with this thread?
A recent “primary doc” I have been looking at in terms of using jar files and dropping/copying them to the “dropins” folder. Note via filesystem copy but not through Eclipse UI.
I have the Eclipse and KNIME installation as instructed in the knime github doc. It works and I can create the NumberFormatter project and use it as instructed in the posts above.