- This topic has 4 replies, 3 voices, and was last updated 19 years, 4 months ago by Scott Anderson.
-
AuthorPosts
-
bernardcenaMemberWe are getting ready to upgrade to E3.1 (and trying MyE4.0M2) – we’d like to set up a local update site for MyEclipse and I’ve been reading and playing with using the update policy: http://help.eclipse.org/help31/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/update_policy.html – we’ve set up the following file and entered it into the Update policy file field in Window/Preferences/Install and update/Update Policy/Policy URL (also tried to supply property: org.eclipse.update.core/updatePolicyFile in the plugins/org.eclipse.sdk_3.1.0 and plugins/org.eclipse.platform_3.1.0 for good measure in plugin_customisation.ini). I’ve been using a http: and file: URLs and there is no way I can get this to work. We are trying to direct all myeclipse updates to a local update site that we created.
Could you please help us with this ? Perhaps provide an working example that you use internally – are we hitting the right .ini files ? Is there something strange in URL spec ?
Our update policy file:
<?xml version=”1.0″ encoding=”UTF-8″?>
<update-policy>
<url-map pattern=”*” url=”http://oursite.com/path/to/update/site” />
</update-policy>
Specifically we want to disable searching outside the network and get rid of Eclipse’s default search under eclipse.org.
Thank you for your help!
Bernard Cena
Riyad KallaMemberBernard,
Are you using the archived update site that we provide from our download section or are you using a home-made one?
bernardcenaMemberYes, we’ve been using your archived site (for 3.8.4) as a model (we’re also trying to achieve this for other plugins) – we DON’T want users downloading from outside our network and want to set up a local update site.
Riyad KallaMemberBernard,
I’ve asked someone to reply to this that might have an idea, hang in there.
Scott AndersonParticipantBernard,
I wasn’t even aware of the update policy until I saw your post. What we’ve had users do in the past is simply unzip our update site, as you’ve done, and then manually instruct Eclipse to search it by using Help > Software Updates > Find and Install… > Search for new features… and then entering the URL for the local site. While this works, it doesn’t have the “automatic redirect” to an internal site that you’re trying to achieve with the policy. For specific help on that, the eclipse.platform newsgroup at eclipse.org would likely be your best bet since it’s a platform feature and isn’t specific to MyEclipse.
-
AuthorPosts