Extensions Bundle
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 17
- Joined: Thu Sep 17, 2015 3:39 pm
Extensions Bundle
I started a new Job and I'm completely new to Oxygen!
I'm trying to configure my own Extensions Bundle, but it doesn't work.
I followed the steps from this tutorial: http://www.oxygenxml.com/doc/versions/1 ... undle.html
I created my Java Project, created the lib folder, copied the Oxygen.jar file and my class extends the abstract class ro.sync.ecss.extensions.api.ExtensionsBundle.
I defined a Document Type ID and a short description and I overrode the createAuthorReferenceResolver() method, because I wanted to try my own.
I packed both of my classes (the extensions bundle and my reference resolver) into a jar file and copied it into my framework-directory and I added the jar-file to the author class path. But if I try to choose my Extensions bundle in the extensions tab of the document type association, it cannot be found.
Any suggestions what might be my mistake or what I might have missed?
Thank you!
I'm trying to configure my own Extensions Bundle, but it doesn't work.
I followed the steps from this tutorial: http://www.oxygenxml.com/doc/versions/1 ... undle.html
I created my Java Project, created the lib folder, copied the Oxygen.jar file and my class extends the abstract class ro.sync.ecss.extensions.api.ExtensionsBundle.
I defined a Document Type ID and a short description and I overrode the createAuthorReferenceResolver() method, because I wanted to try my own.
I packed both of my classes (the extensions bundle and my reference resolver) into a jar file and copied it into my framework-directory and I added the jar-file to the author class path. But if I try to choose my Extensions bundle in the extensions tab of the document type association, it cannot be found.
Any suggestions what might be my mistake or what I might have missed?
Thank you!
-
- Posts: 9450
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Extensions Bundle
Hi,
I am not sure what the problem is. So the JAR library contains the compiled versions of your classes with the proper package hierarchies inside it, right?
And your custom ExtensionsBundle implementation has a default (without parameters) constructor, right?
We would need more details in order to help further. So please contact us at support@oxygenxml and attach the Java sources + the JAR that you are adding in the classpath.
Regards,
Radu
I am not sure what the problem is. So the JAR library contains the compiled versions of your classes with the proper package hierarchies inside it, right?
And your custom ExtensionsBundle implementation has a default (without parameters) constructor, right?
We would need more details in order to help further. So please contact us at support@oxygenxml and attach the Java sources + the JAR that you are adding in the classpath.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 17
- Joined: Thu Sep 17, 2015 3:39 pm
Re: Extensions Bundle
Hi,
thanks for the quick reply, I already found my mistake.
I accidently didn't add the jar file to the class path, but the folder which contains the jar file. It now works perfectly.
Regards,
NissenJ
thanks for the quick reply, I already found my mistake.
I accidently didn't add the jar file to the class path, but the folder which contains the jar file. It now works perfectly.
Regards,
NissenJ
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