How to debug Plugin from eclipse

Oxygen general issues.
kwbock
Posts: 3
Joined: Mon Nov 12, 2012 9:57 pm

How to debug Plugin from eclipse

Post 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.
alex_jitianu
Posts: 1016
Joined: Wed Nov 16, 2005 11:11 am

Re: How to debug Plugin from eclipse

Post 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
Post Reply