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)
(repeat)
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.
https://wiki.eclipse.org/Equinox/p2/Getting_Started#Dropins
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.
Peter K