Page 1 of 1

how to install git plugin with offline mode?

Posted: Tue Sep 17, 2019 9:29 am
by lhsihan
Hi experts,
We have no network access when using oxygen xml editor,when we tried to install git plugin with offline mode, we prepared one local "addon.xml" and replace "location" with local intranet url.

Then we did following:
1. use Help->Install new add-ons to open an add-on selection dialog box,
2. select the local addon.xml.
3. Select the Git Support add-on and click Next.
4. Select the I accept all terms of the end user license agreement option.

When doing step4, we can't select Git Support and the Next button is not available . The window said "
The add-on is not signed."
Is there any other way to install git plugin with offline mode?

Could you please help me on this?

Thanks a lot.

Re: how to install git plugin with offline mode?

Posted: Wed Sep 18, 2019 3:01 pm
by alex_jitianu
Hello,
When doing step4, we can't select Git Support and the Next button is not available . The window said "The add-on is not signed."
The benefit of having a signed add-on is that you can verify the integrity of the add-on issuer. You can ignore the warning since you know where they came from.

If you still want to sign it, you will need a certificate signed by a trusted authority. To sign the JAR you can either use the jarsigner command-line tool inside Oracle's Java Development Kit. ([JDK_DIR]/bin/jarsigner.exe) or, if you are working with Apache Ant, you can use the signjar task (a front for the jarsigner command-line tool).

An alternative/manual installation that doesn't involve the addon mechanism, would be:

1. Go on the Releases page and download git.support-{version}-plugin.jar
2. Unzip it inside {oXygenInstallDir}/plugins. Make sure you don't create any any intermediate folders. After unzip, the file system should be like this: {oXygenInstallDir}/plugins/git.support-1.5.2/plugin.xml


Best regards,
Alex

Re: how to install git plugin with offline mode?

Posted: Thu Sep 19, 2019 1:16 am
by lhsihan
Thanks so much for the reply. Works fine.