Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blog post about how to install add-ons when offline #26

Open
AlexJitianu opened this issue Oct 28, 2020 · 0 comments
Open

Blog post about how to install add-ons when offline #26

AlexJitianu opened this issue Oct 28, 2020 · 0 comments

Comments

@AlexJitianu
Copy link

We ahev a lot of plugins packed as addons. If users are offline, they can't access the internet, an administrator needs to download these packages and put them in a proper location for Oxygen to load them.

Something that I wrote to one of our users that faced this challenge:

All these add-ons are represent frameworks and plugins that are unpacked inside a predefined location. In your case this location is:

- For frameworks: C:\Users\{user}\AppData\Roaming\com.oxygenxml\extensions\v22.0\frameworks

- For plugins: C:\Users\{user}\AppData\Roaming\com.oxygenxml\extensions\v22.0\plugins

If you look inside these folders you will notice an additional level of folders, like a namespace, before the actual plugins/frameworks.

Instead of using the add-on mechanism to install them, you can manually download the packages and put them inside one of he locations where Oxygen looks for plugins/frameworks. This location can be the previously mentioned location, assuming you respect the folder structure, or the default one:

- put plugins inside {oxygenInstallDir}/plugins

- put frameworks inside {oxygenInstallDir}/frameworks

The frameworks/plugins packages can be found by opening those update sites into Oxygen, using the Open URL action on the toolbar. An XPath expression like this pinpoints the packages:

/xt:extensions/xt:extension/xt:location/@href

If we are to refer to the ones you enumerated, their corresponding packages are these:

1. Plugins

https://www.oxygenxml.com/maven/com/oxygenxml/oxygen-cgm-plugin/21.1.0.2/oxygen-cgm-plugin-21.1.0.2-plugin.jar

https://github.com/xspec/oXygen-XML-editor-xspec-support/releases/download/1.6.1/xspec.support-1.6.1-plugin.zip

https://www.oxygenxml.com/maven/com/oxygenxml/oxygen-patched-jsonix-schema-compiler/22.1.0.0/oxygen-patched-jsonix-schema-compiler-22.1.0.0-plugin.jar

2. Frameworks:

https://github.com/xspec/oXygen-XML-editor-xspec-support/releases/download/1.6.1/xspec.support-1.6.1-framework.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant