Page 1 of 1

How to debug Plugin from eclipse

Posted: Mon Nov 12, 2012 10:00 pm
by kwbock
I have followed the steps in http://www.oxygenxml.com/forum/post18565.html to get eclipse launching Oxygen in debug mode.

How can I get Oxygen to run my plugin from Eclipse instead of the plugins directory?

Thanks for any help in pointing me in the right direction.

Re: How to debug Plugin from eclipse

Posted: Fri Nov 16, 2012 9:48 am
by alex_jitianu
Hi,

First of all you must tell Oxygen to look for plugins in the location where you develop the plugin. You can do that by setting the system property "com.oxygenxml.editor.plugins.dir". Then add to the plugin's classpath the directory where Eclipse has compiled your classes. You can do that by editing plugin.xml and adding:

Code: Select all


<runtime>
<library name="classes"/>
</runtime>
Best regards,
Alex