June 12, 2019 at 5:06 pm #615922
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?June 12, 2019 at 5:43 pm #615924
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
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.June 13, 2019 at 12:24 pm #615972
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!June 13, 2019 at 4:39 pm #615978
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.
June 13, 2019 at 4:48 pm #615980
- This reply was modified 1 week, 4 days ago by clifft.
Happy to know you are up and going! I really appreciate the feedback and your notes.