Reloading operations in classpath
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 163
- Joined: Sat Aug 28, 2010 1:23 am
Reloading operations in classpath
Hi there,
Say I've written and compiled an AuthorOperation, associated it with an Action in Oxygen and tested it out. Then I modify the operation and recompile. Is there a way to reload the class to test the change without restarting Oxygen?
Thanks,
David
Say I've written and compiled an AuthorOperation, associated it with an Action in Oxygen and tested it out. Then I modify the operation and recompile. Is there a way to reload the class to test the change without restarting Oxygen?
Thanks,
David
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Reloading operations in classpath
Hi David,
From what it looks in the code the class loaders are reused by Author actions and once a class loader has loaded a library it will not react to any modifications in it.
You could try to close all Docbook files from Oxygen and then reopen them. Oxygen tries to de-alocate a class loader once it is not used anymore. But I'm not sure if this would work either.
Regards,
Radu
From what it looks in the code the class loaders are reused by Author actions and once a class loader has loaded a library it will not react to any modifications in it.
You could try to close all Docbook files from Oxygen and then reopen them. Oxygen tries to de-alocate a class loader once it is not used anymore. But I'm not sure if this would work either.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 163
- Joined: Sat Aug 28, 2010 1:23 am
Re: Reloading operations in classpath
As far as I can tell, quitting and restarting Oxygen is the only way to pick up a changed class (quitting the docs doesn't do it). It does seem to notice a newly added class however.
Thanks,
David
Thanks,
David
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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