- This topic has 5 replies, 2 voices, and was last updated 15 years, 5 months ago by support-joy.
-
AuthorPosts
-
we9603MemberI am a little unclear on how to create a local proxy update site and how to setup the myeclipse clients to get the updates from the proxy site. I’ve read a document on your help file: …/help/topic/org.eclipse.platform.doc.user/tasks/tasks-37.htm that covers this topic. The topic, references a file that can be setup in Preferences -> Install/Update. I do not see this option on MyEclipse Workbench 7.5. So the information on this topic does not seem to be accurate. Can you provide me w/ instructions on how to accomplish this task?
Thanks.
support-joyMemberYou can setup your proxy settings by following this –
From MyEclipse menu – click on Window > Preferences > Pulse > Network Settings.
Add the proxy details. For communications Tuning, you can choose either maximum compatibility or native java network connectivity.
we9603Member@support-joy wrote:
You can setup your proxy settings by following this –
From MyEclipse menu – click on Window > Preferences > Pulse > Network Settings.
Add the proxy details. For communications Tuning, you can choose either maximum compatibility or native java network connectivity.1- So under Pulse > Network Settings I put the servername and path including the updatepolicy.xml file?. (For example: http://my_server…./updatepolicy.xml)
2- What about how configure the update policy file on the server? Here is what I have so far:
<?xml version=”1.0″ encoding=”UTF-8″?><update-policy>
<!– Mapping of feature pattern to update URL –>
<!– Empty URL means product will not be updated –><url-map pattern=”*” url=”http://[xxxservername]/myeclipse-update-site”/>
</update-policy>
support-joyMemberHi we9603,
This feature of allowing Update policy using is in Eclipse.
The following are the steps to implement in MyEclipse, but I have not tried it yet, it is just a work around thing and needs to be tested perfectly. Please follow the steps and let me know the result.Since features have the update site URL embedded in the manifest, they are unaware of the local update sites set up by the administrators. It is therefore important to provide redirection capability. This and other update policy settings can be set for an Eclipse product by creating an update policy file and configuring Update to use that file when searching.
The file in question uses XML format and can have any name. The file can be set in Preferences > Install/Update in the Update Policy field. The text field is empty by default: users may set the URL of the update policy file. The file is managed by the local administrator and is shared for all the product installations. Sharing can be achieved in two ways:
If users install the product: users are told to open the preference page and enter the provided URL
If administrators install the product: administrators edit the file ‘plugin_customization.ini’ in the primary product feature and set the default value of the ‘updatePolicyURL’ property as follows:
org.eclipse.update.core/updatePolicyURL = <URL value>This will cause all the installations to have this file set by default.
The ‘plugin_customization.ini’ is located in your myEclipse home directory/Common/Plugins/org.eclipse.sdk_3.4.1.v200809111700 for Myeclipse running on Eclipse 3.4.1. For other version Eclipse, please look for that version in the place of 3.4.1.v200809111700.<b>url-map</b>
Syntax:
<update-policy>
<url-map pattern=”” url=””/>
</update-policy>pattern – a string that represents prefix of a feature ID (up to and including a complete ID). A value of “*” matches all the features.
url – a URL of the alternative update site that should be used if the feature ID begins with the pattern. If the string is empty, features matching pattern will not be updateable.
Example:
<?xml version=”1.0″ encoding=”UTF-8″?>
<update-policy>
<url-map pattern=”org.eclipse” url=”URL1″/>
<url-map pattern=”org.eclipse.jdt” url=”URL2″/>
</update-policy>
we9603MemberJoy,
Please see my first post. The Install/Update preference you describe does not exist on MyEclipse Workbench 7.5. If it does, I can’t find it. The rest of the information you describe comes straight from the help files bundled w/ MyEclipse which I have already expressed being uncleared as indicated on my 1st and 2nd posts.
support-joyMemberwe9603,
This option is not available as a preference option within MyEclipse. I have done some digging and here are my findings.
Look for MyEclipse installation directory and The ‘plugin_customization.ini’ is located in your myEclipse home directory/Common/Plugins/org.eclipse.sdk_3.4.1.v200809111700
Make the modifications to the ini file here related to eclipse update policy, next restart MyEclipse. Please check if this works. (Please note – I have not tried this option)
In case the above doesn’t work, I would suggest you a workaround –
– Download Eclipse 3.4.2 classic and add the eclipse update policy. Next add MyEclipse as a plugin. The steps to add MyEclipse as a plugin are mentioned in the MyEclipse download site.
Let me know how this works for you. -
AuthorPosts