Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-update-dev] RE: Disabling/redirecting Eclipse.org update site, update policy


The online docs had a typo https://bugs.eclipse.org/bugs/show_bug.cgi?id=78043.

When the hproperty is set in plugin_customization.ini, the URL should show as a default in Update preference page.  It looks like the file you are editing is not being read.  Try using -pluginCustomization <location> on the command line.

Konrad Kolosowski




"Cena, Bernard (IT)" <Bernard.Cena@xxxxxxxxxxxxxxxxx>
Sent by: platform-update-dev-bounces@xxxxxxxxxxx

08/24/2005 07:25 AM

Please respond to
"Eclipse Platform Update component developers list."

To
<platform-update-dev@xxxxxxxxxxx>
cc
Subject
[platform-update-dev] RE: Disabling/redirecting Eclipse.org update        site, update policy





Thanks for the information on update site policy.
The docs say that in order to set a default update policy file you can
set org.eclipse.update.core/updatePolicyFile in the primary product
feature. Well, I did that (for in
org.eclipse.platform_3.1.0/plugin_customization.ini) to no avail.
Checking the source code it seems the property should in fact be
updatePolicyURL (not updatePolicyFile) - is this a typo ? I used the
preferences dialog to set the update policy URL and that works fine
(updating features correctly redirects to my local site), however
unsetting the preference and trying the property definition in
plugin_customization.ini does not seem to have any effect. Please
advise.

Contents of plugin_customization.ini
# plugin_customization.ini
<snip>
# platform update site
org.eclipse.update.core/updatePolicyURL=http://server/updates/update_pol
icy.xml

Contents of update_policy.xml
<?xml  version="1.0" encoding="UTF-8"?>
<update-policy>
 <url-map pattern="*" url="" />
</update-policy>
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender.  Sender does not waive confidentiality or privilege, and use is prohibited.
_______________________________________________
platform-update-dev mailing list
platform-update-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-update-dev


Back to the top