Reputation: 61
We have several test networks and the machines on these networks do not have internet access. I am trying to install Worklight 6.2 studio ... but it requires Eclipse 4.2.2 minimum and this is an RDz install with 4.2.1. A simple "update" on an internet facing maching would work fine. I tried bringing a fresh 4.2.2 down, but not surprisingly it did not recognize it as a repository. What is best way to update Eclipse w/no internet connection (I can move files up there from elsewhere). Thanks,
Upvotes: 0
Views: 132
Reputation: 174622
Facing the same issue before, I found a tip from the Eclipse help reference that details steps to clone an update site as an offline mirror:
Mirroring feature(s) from a remote site:
java -jar plugins/org.eclipse.equinox.launcher_<version>.jar
-application org.eclipse.update.core.standaloneUpdate
-command mirror
-from remote_site_url
-to target_site_dir
[-featureId feature_id]
[-version version]
[-mirrorURL mirror_site_url]
The only downside to this is that you will have to clone not only the main Eclipse mirror, but also any specific plugin sites, but once done you will have a full offline update site:
/eclipse
-application org.eclipse.update.core.standaloneUpdate
-command mirror
-from http://www.some-plugin-site.com/update-site
-to /path/to/local/directory
Upvotes: 1