Page 1 of 1

we want to avoid re launching the oxygen editor

Posted: Wed Sep 21, 2022 7:50 pm
by vishwavaranasi
hello team ,

We have oxygen plugin implemented and for now we are copying the plugin jar to plugins folder and it works fine,

here is the question , when we have changes to the Jar , we always copy latest jar and it is requiring the launching the oxygen tool again ,

is there anyway that we can avoid relaunching the tool , just after copying jar it should bring the latest changes.

please suggest if anything like that?

Re: we want to avoid re launching the oxygen editor

Posted: Thu Sep 22, 2022 7:38 am
by Radu
Hi,

I'm afraid we cannot hot-load plugins in Oxygen to avoid restarting the application.
But you can avoid copying the JAR library in the Oxygen "plugins/pluginName" folder over and over again and run directly on your classes folder. There is a procedure here (it starts at the "If you want to debug your Java code" paragraph):
https://github.com/oxygenxml/sample-plu ... ace-access

Maybe these links will also help:
https://www.oxygenxml.com/doc/versions/ ... lugin.html
https://www.oxygenxml.com/doc/versions/ ... -sdk2.html

Regards,
Radu