[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.technology.ercp] Re: eUpdate in eRCP Workbench, eUpdate Documentation - site.xml
|
Oh... we should have documented this in the milestone release notes...
eUpdate only handles update sites meant for devices. This is specified by
using
<site type="org.eclipse.ercp.update.http">
in the site.xml. The reason for this is that Eclipse does not provide a
mechanism for specifying whether a feature is meant for a device or not. To
understand why this is a problem, consider a feature containing a plugin
which provides a subset of desktop feature (for example eSWT). Both the
superset and subset plugins export org.eclipse.swt packages. If you had an
update site containing both features, the wrong one could resolve your
dependency on these packages.
You could accidentally install subset features on your desktop and loose
function or install large superset features on a device that take too many
resources.
Therefore, we thought it better to limit device features to device specific
sites.
That accounts for the unsupported site type error. I'm not sure why you are
getting network type errors. I think we've only seen these where there has
been a legitimate connectivity problem or a typo in the URL.
"Ismet Karakaya" <ismad@xxxxxx> wrote in message
news:e9lio7$9fb$1@xxxxxxxxxxxxxxxxxxxx
> Hi,
>
> i want use the eUpdate feature of eRCP (Update Manager in eRCP Workbench),
> but i got errors.
>
> done "Install New Applications/Features > Command > Add Bookmark" without
> problems (i must select a site.xml for adding a Bookmark for Remote or
> Local installation)
>
> after adding the bookmark i select (checkbox) the bookmark for
> installation, without problems
>
>
> at the installation process i got following error:
>
> cannot access the update site "...", please make sure the path is correct
> and the network is connected..
>
> maybe the site.xml is wrong?
> where can i find eUpdate Documentation or a right site.xml example?
>
> site.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <site>
> <description url="http://localhost/ercpBundles/">ercp Bundle
> Plugin</description>
> <plugin
> url="plugins/eRCPsampleApp.app_1.0.0.jar"
> id="eRCPsampleApp.app"
> version="1.0.0">
> <category name="ercp Bundle Plugin"/>
> </plugin>
> <category-def name="ercp Bundle Plugin" label="ercp Bundle Plugin">
> <description>ercp Bundle Plugin</description>
> </category-def>
> </site>
> ...
>
>
>
> for another site.xml i got the following error:
>
> The update site "..." has unsupported site type (""), and is ignored
>
> site.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <site>
> <description url="http://localhost/ercpBundles/">ercp Bundle
> Plugin</description>
> <feature
> url="features/eRCPsampleApp.app_1.0.0.jar"
> id="eRCPsampleApp.app"
> version="1.0.0">
> <category name="ercp Bundle Plugin"/>
> </feature>
>
> <category-def name="ercp Bundle Plugin" label="ercp Bundle Plugin">
> <description>ercp Bundle Plugin</description>
> </category-def>
> </site>
>
>
> Thanks a lot !
>
> Ismet