we want to avoid re launching the oxygen editor

Oxygen general issues.
vishwavaranasi
Posts: 168
Joined: Fri Feb 28, 2020 4:02 pm

we want to avoid re launching the oxygen editor

Post 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?
Thanks,
vishwa
Radu
Posts: 9434
Joined: Fri Jul 09, 2004 5:18 pm

Re: we want to avoid re launching the oxygen editor

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply