Multiple data directories
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 5
- Joined: Thu Feb 24, 2022 9:29 pm
Multiple data directories
Is there a way to have Oxygen Web Author recognize 2 directories containing the plugins and frameworks subdirectories (the "Web Author Oxygen Data Directory")? The built in one defaults to <INSTALL_PATH>\tomcat\work\Catalina\localhost\oxygen-xml-web-author. I created another one in a location outside the install tree and pointed the application to it using the oxygen.data.dir java option. That works, but is there a way to have both of those directories recognized?
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Multiple data directories
Post by cristi_talau »
Hello,
Web Author supports only one "data directory". It has some flexibility on how it loads frameworks and plugins. If you ca share what you want to achieve with two such folders, we may be able to find a solution to support your use-case.
For example, there is an "additional.frameworks.directories" option that you can configure [1]. For plugins, there is a mechanism that loads a plugin from another directory by placing a "plugin.redirect" file in the plugins folder.
In Web Author 24.1 we also separated user-uploaded plugins and frameworks from the builtin ones in two separate directories (all inside the same data directory).
Best,
Cristian
[1] https://www.oxygenxml.com/doc/versions/ ... Cdirectory
[2] https://www.oxygenxml.com/doc/versions/ ... n.redirect
Web Author supports only one "data directory". It has some flexibility on how it loads frameworks and plugins. If you ca share what you want to achieve with two such folders, we may be able to find a solution to support your use-case.
For example, there is an "additional.frameworks.directories" option that you can configure [1]. For plugins, there is a mechanism that loads a plugin from another directory by placing a "plugin.redirect" file in the plugins folder.
In Web Author 24.1 we also separated user-uploaded plugins and frameworks from the builtin ones in two separate directories (all inside the same data directory).
Best,
Cristian
[1] https://www.oxygenxml.com/doc/versions/ ... Cdirectory
[2] https://www.oxygenxml.com/doc/versions/ ... n.redirect
-
- Posts: 5
- Joined: Thu Feb 24, 2022 9:29 pm
Re: Multiple data directories
Ok, not a big deal, I just wanted to keep our custom frameworks and plugins separate. I saw the user frameworks and plugins directories and am already using them. But if I have the data directory set to one outside the install tree, will the builtin stuff in that data directory get updated when we upgrade OWA?
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Multiple data directories
Post by cristi_talau »
Hello,
Our installers upgrade the builtin frameworks and plugins and leave the user-provided ones unchanged. If you are using the WAR distribution, you can create a similar process yourself.
Best,
Cristian
Our installers upgrade the builtin frameworks and plugins and leave the user-provided ones unchanged. If you are using the WAR distribution, you can create a similar process yourself.
Best,
Cristian
-
- Posts: 5
- Joined: Thu Feb 24, 2022 9:29 pm
Re: Multiple data directories
Right, I understood that part of it. My question now is whether the builtin frameworks, etc. in my external (ie. not in the OWA install tree) data directory will be updated correctly when OWA upgrades/updates occur?
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Multiple data directories
Post by cristi_talau »
Hello,
If you use our Windows or Linux installer, the installer will update the builtin plugins that were installed as part of the previous installation. It will not modify the plugins outside the installation directory.
Best,
Cristian
If you use our Windows or Linux installer, the installer will update the builtin plugins that were installed as part of the previous installation. It will not modify the plugins outside the installation directory.
Best,
Cristian
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