Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Offline Plugin Installation(How to install eclipse plugins on an isolated network?)
Offline Plugin Installation [message #1767504] Thu, 06 July 2017 14:39 Go to next message
Marc Thomson is currently offline Marc ThomsonFriend
Messages: 1
Registered: July 2017
Junior Member
I need to install plugins into eclipse hosted on a network that is isolated from the internet. Where do I find the jar or zip file to install? What are the step by step instructions to install a plugin from a jar or zip. On a Windows 7 system, which file type is preferred, jar or zip?

Thanks.
Re: Offline Plugin Installation [message #1767548 is a reply to message #1767504] Fri, 07 July 2017 05:36 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Not all update sites provide a zipped form, so that's a problem. If you have one, the dialog to install new software has an Add... button that brings up a dialog with an Archive... button so installing from an archive (zip or jar) is easy, and there is also a Local... button to point at a folder. If the update site doesn't come in zipped form, you can use p2's mirror application https://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fp2_mirror.html to mirror the repository to the file system. E.g., a bash script like this (which mirrors both the artifacts and the metadata) does the tricky:
#!/bin/sh

eclipse="/d/sandbox/oomph-master/eclipse/eclipse.exe"

if [[ $# != 2 ]]; then
  echo "mirror-eclipse <source-URL> <targetURL>"
else
 $eclipse -nosplash -verbose \
   -application org.eclipse.equinox.p2.artifact.repository.mirrorApplication \
   -source $1 \
   -destination $2
 $eclipse -nosplash -verbose \
   -application org.eclipse.equinox.p2.metadata.repository.mirrorApplication \
   -source $1 \
   -destination $2
fi

exit



Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Shell Script(DLTK)
Next Topic:Windows Builder
Goto Forum:
  


Current Time: Fri Apr 26 12:15:31 GMT 2024

Powered by FUDForum. Page generated in 0.07803 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top