facebook

MyEclipse update site – setting up a local copy

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #233730 Reply

    bernardcena
    Member

    We 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&#8221; />
    </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

    #233734 Reply

    Riyad Kalla
    Member

    Bernard,
    Are you using the archived update site that we provide from our download section or are you using a home-made one?

    #233751 Reply

    bernardcena
    Member

    Yes, 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.

    #233766 Reply

    Riyad Kalla
    Member

    Bernard,
    I’ve asked someone to reply to this that might have an idea, hang in there.

    #233769 Reply

    Scott Anderson
    Participant

    Bernard,

    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.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: MyEclipse update site – setting up a local copy

You must be logged in to post in the forum log in