Offline installation

This topic contains 4 replies, has 2 voices, and was last updated by  aaronlonin 5 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #615922 Reply

    clifft
    Participant

    I would really like to use the DevStyle plugin, but most of the systems I work on are air-gapped, so using the update site directly is not possible. Is it possible to get DevStyle as a zipped package/site for offline installation?

    #615924 Reply

    aaronlonin
    Moderator

    Hello @clift.

    When on a machine that is connected to the net, you could make a mirror of our update site. You can then copy this mirror to your offline machine, and then install using the Local button in the “Add Update site” dialog to install from this site.

    To make a mirror, execute the following commands from within the folder containing eclipse.exe, where mirrorfolder is the destination into which you want to mirror the site.

    eclipse -nosplash -verbose -application org.eclipse.equinox.p2.metadata.repository.mirrorApplication -raw -source https://www.genuitec.com/updates/devstyle/ci/ -destination mirrorfolder
    and then

    eclipse -nosplash -verbose -application org.eclipse.equinox.p2.artifact.repository.mirrorApplication -raw -source https://www.genuitec.com/updates/devstyle/ci/ -destination mirrorfolder

    see: https://wiki.eclipse.org/Equinox_p2_Repository_Mirroring for more details. Note, progress is not displayed during the mirroring operation, please wait for the eclispe process to naturally exit each time.

    Hope this helps.

    #615972 Reply

    clifft
    Participant

    That should work great!

    I was not aware of this trick. It would have come in handy a few times over the years. Thanks for teaching me something new!

    #615978 Reply

    clifft
    Participant

    An update and some notes for future readers:

    I initially ran into some trouble with SSL certificates, which I assumed was due to my work proxy. It turns out it was an issue resolving the certificate authority for the HTTPS addresses. If you run into this issue (PKIX path creation failed), try using http:// instead of https://.

    Also, the first time it ran, it failed to grab a few required JAR files, namely the news and CSS JARs. Once I re-ran it, I was able to zip the contents of the mirror folder (optional, but easier to send to the IT folks) and install the plugin from the zip file.

    Thanks again!

    • This reply was modified 5 months ago by  clifft.
    #615980 Reply

    aaronlonin
    Moderator

    Happy to know you are up and going! I really appreciate the feedback and your notes.

    Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Offline installation

You must be logged in to post in the forum log in