how to install git plugin with offline mode?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
lhsihan
Posts: 35
Joined: Thu Aug 15, 2019 5:31 pm

how to install git plugin with offline mode?

Post 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.
alex_jitianu
Posts: 1008
Joined: Wed Nov 16, 2005 11:11 am

Re: how to install git plugin with offline mode?

Post 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
lhsihan
Posts: 35
Joined: Thu Aug 15, 2019 5:31 pm

Re: how to install git plugin with offline mode?

Post by lhsihan »

Thanks so much for the reply. Works fine.
Post Reply