Debugging a Plugin Using the Eclipse Workbench
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 91
- 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.
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.
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Debugging a Plugin Using the Eclipse Workbench
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:
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
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 %*
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 91
- 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
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service