|
Re: Offline Plugin Installation [message #1767548 is a reply to message #1767504] |
Fri, 07 July 2017 05:36 |
Ed Merks 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/
|
|
|
Powered by
FUDForum. Page generated in 0.07803 seconds