Debugging a Plugin Using the Eclipse Workbench

Post here questions and problems related to oXygen frameworks/document types.
msambasiva
Posts: 87
Joined: Tue Jul 17, 2018 6:57 am

Debugging a Plugin Using the Eclipse Workbench

Post by msambasiva »

Hi,

Oxygen XML Editor 23.0

We are able to pass a parameter from Oxygen plugin to DITA-OT plugin in Oxygen XML Editor 23.0. But somehow, the same functionality is not working in Oxygen XML Author 23.0. I am able to debug a Oxygen Plugin successfully.

When we run the plugin in debug mode, Oxygen XML Editor is opening by default. But we need to debug the plugin in Oxygen XML Author. Is there any way to open Author by default with debugging process.

Thanks in advance,
Samba.
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: Debugging a Plugin Using the Eclipse Workbench

Post by Radu »

Hi Samba,

I do not quite understand what the problem is, so the question is about starting Oxygen XML Author desktop directly from Eclipse, right?

The Java command line used to start XML Author looks like this:

Code: Select all

%OXYGEN_JAVA% -Xmx1g -XX:-OmitStackTraceInFastThrow -XX:SoftRefLRUPolicyMSPerMB=10 -Dsun.java2d.noddraw=true -Dsun.awt.nopixfmt=true -Dsun.java2d.dpiaware=true -Djava.net.preferIPv4Stack=true -Dsun.io.useCanonCaches=true -Dsun.io.useCanonPrefixCache=true -Dsun.awt.keepWorkingSetOnMinimize=true -Dcom.oxygenxml.app.descriptor=ro.sync.exml.AuthorFrameDescriptor -Dcom.oxygenxml.ApplicationDataFolder="%APPDATA%" -cp %CP% ro.sync.exml.Oxygen %*
So it passes this param "-Dcom.oxygenxml.app.descriptor=ro.sync.exml.AuthorFrameDescriptor" in order for Oxygen to know it should open as XML Author.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
msambasiva
Posts: 87
Joined: Tue Jul 17, 2018 6:57 am

Re: Debugging a Plugin Using the Eclipse Workbench

Post by msambasiva »

Thanks Radu. It's working. Able to open the Oxygen XML Author from Eclipse debugging process. -Dcom.oxygenxml.app.descriptor=ro.sync.exml.AuthorFrameDescriptor
Post Reply