<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://protegewiki.stanford.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Quadd12</id>
		<title>Protege Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://protegewiki.stanford.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Quadd12"/>
		<link rel="alternate" type="text/html" href="https://protegewiki.stanford.edu/wiki/Special:Contributions/Quadd12"/>
		<updated>2026-04-20T10:08:44Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>https://protegewiki.stanford.edu/index.php?title=EnablePluginAutoUpdate&amp;diff=9017</id>
		<title>EnablePluginAutoUpdate</title>
		<link rel="alternate" type="text/html" href="https://protegewiki.stanford.edu/index.php?title=EnablePluginAutoUpdate&amp;diff=9017"/>
				<updated>2010-09-06T09:16:12Z</updated>
		
		<summary type="html">&lt;p&gt;Quadd12: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;div class=&amp;quot;orangeBox&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;orangeBoxTitle&amp;quot;&amp;gt;Protege 4 Auto Update&amp;lt;/span&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Help people find your plugin and keep up-to-date with its most recent versions with auto-update.&lt;br /&gt;
&lt;br /&gt;
'''This feature will be available from build 104 onwards'''.&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Auto-update.png|right|400px|auto-update on startup]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== What is auto-update? ==&lt;br /&gt;
&lt;br /&gt;
Protege 4 can check for:&lt;br /&gt;
* '''Updates''' to see if new versions of your installed plugins are available&lt;br /&gt;
* '''Downloads''' to see what other plugins are available for P4&lt;br /&gt;
&lt;br /&gt;
When requested you will be presented with a dialog (see right) that allows you to download the plugins.&amp;lt;br /&amp;gt;&lt;br /&gt;
As the check requires an internet connection it may take several seconds for the dialog to appear.&lt;br /&gt;
&lt;br /&gt;
* Just select which plugins you would like to update or download&lt;br /&gt;
* Updates will take effect the next time you start P4.&lt;br /&gt;
&lt;br /&gt;
By default, this check will happen whenever you start P4 (you can turn this off - see below).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Plugin preferences ==&lt;br /&gt;
&lt;br /&gt;
[[Image:Plugins-preferences.png|right|400px|plugin preferences]]&lt;br /&gt;
&lt;br /&gt;
You can turn [[EnablePluginAutoUpdate#What_is_auto-update.3F|auto-update]] on and off.&lt;br /&gt;
&lt;br /&gt;
If you want to manually check for updates or for new plugin downloads, just click on the appropriate button:&lt;br /&gt;
* '''Check for updates''' to see if new versions of your installed plugins are available&lt;br /&gt;
* '''Check for downloads''' to see if new plugins you've not yet installed are available&lt;br /&gt;
&lt;br /&gt;
You can also select an alternative registry to use to find new plugins.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Plugin registry ===&lt;br /&gt;
&lt;br /&gt;
The updates dialog has another tab that allows the user to find all available plugins by way of a registry.&lt;br /&gt;
&lt;br /&gt;
The registry is a simple list of URLs that point to all the available plugin updates files.&lt;br /&gt;
Actually, it can also point to other registries.&lt;br /&gt;
&lt;br /&gt;
P4 allows you to specify the registry that it uses to find downloads (see below).&lt;br /&gt;
&lt;br /&gt;
==== Custom registries ====&lt;br /&gt;
&lt;br /&gt;
If you are developing a lot of your own plugins, or you are on a project where you want people to have access to plugins on your intranet, you can create your own registry.&lt;br /&gt;
This is simply a flat file with a list of URLs on subsequent lines.&lt;br /&gt;
&lt;br /&gt;
You can point your registry to any other registry (including the central one if you want) or any number of plugin updates files.&lt;br /&gt;
&lt;br /&gt;
Then just instruct everyone to point at your registry instead of the default one in the Plugin preferences.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br style=&amp;quot;clear: both&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Enabling auto-update for a plugin ==&lt;br /&gt;
&lt;br /&gt;
Plugin developers can take advantage of this feature with just a few simple steps.&lt;br /&gt;
&lt;br /&gt;
=== Create an updates file ===&lt;br /&gt;
&lt;br /&gt;
You should make this file available on the web, somewhere that will not change frequently.&lt;br /&gt;
&lt;br /&gt;
This is in the form of a java properties file:&lt;br /&gt;
&lt;br /&gt;
 id=org.coode.annotate&lt;br /&gt;
 version=1.0.4&lt;br /&gt;
 download=http://co-ode-owl-plugins.googlecode.com/files/org.coode.annotate_1_0_4.zip&lt;br /&gt;
 name=Annotation Template View&lt;br /&gt;
 readme=http://co-ode-owl-plugins.googlecode.com/svn/trunk/org.coode.annotate/version-info.txt&lt;br /&gt;
 license=http://www.gnu.org/licenses/lgpl.html&lt;br /&gt;
 author=CO-ODE, The University of Manchester&lt;br /&gt;
&lt;br /&gt;
The '''id''' must match the id part of the '''Bundle-SymbolicName''' in your manifest file&lt;br /&gt;
&lt;br /&gt;
The '''version''' should be of the form used in the manifest file '''MAJOR.MINOR.MICRO[.qualifier]'''&lt;br /&gt;
&lt;br /&gt;
The '''download''' location can point to a jar or a zip file directly containing the plugin jar&lt;br /&gt;
&lt;br /&gt;
Other properties are optional.&lt;br /&gt;
&lt;br /&gt;
If you choose to supply a '''readme''' keep the text short so that it will fit the dialog.&lt;br /&gt;
You can use either plain text or very simple html (recommended as this allow you to have links).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Edit the manifest file for your plugin ===&lt;br /&gt;
&lt;br /&gt;
You now need to point to this file from your manifest.&lt;br /&gt;
&lt;br /&gt;
Add the following to the manifest file in your plugin (obviously with the location of your updates file):&lt;br /&gt;
&lt;br /&gt;
 Update-Url: http://co-ode-owl-plugins.googlecode.com/svn/trunk/org.coode.annotate/update.properties&lt;br /&gt;
&lt;br /&gt;
Now, when your plugin is distributed, its current version is checked against this file (which you can update whenever you create a new version).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Getting on the plugin registry ===&lt;br /&gt;
&lt;br /&gt;
Auto update is good for telling people when a new version of your plugin is out, but how do you get them to download it in the first place?&lt;br /&gt;
&lt;br /&gt;
Well, you've already added [[Protege-OWL_4.0|wiki entries]] for the plugin, but its a nightmare to remember to update and some users just don't read the documentation.&lt;br /&gt;
&lt;br /&gt;
Just email us at [http://mailman.stanford.edu/mailman/listinfo/p4-feedback p4-feedback] with the location of your updates file and we'll add it to the central registry.&lt;br /&gt;
You can [http://smi-protege.stanford.edu/svn/*checkout*/protege4/protege-standalone/trunk/plugins.repository browse the central registry here], [http://www.freelancercareers.com/ freelance writing]&lt;br /&gt;
&lt;br /&gt;
If you are intent on developing several plugins (good on you) and you don't want to have to request each be added separately, you can create your own registry and we can point to that.&lt;/div&gt;</summary>
		<author><name>Quadd12</name></author>	</entry>

	</feed>