| [news.eclipse.technology.ercp] Re: eUpdate in eRCP Workbench, eUpdate Documentation - site.xml |
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension
point="org.eclipse.ercp.eworkbench.applications">
<application
id="eRCPsampleApp.app"
name="%appname"
singleton="true">
<views
large="eRCPsampleApp.app.views.large"
normal="eRCPsampleApp.app.views.normal"/>
</application>
</extension>
...
...Thanks a lot !
Ismet
You need to determine if the plugin got installed to the runtime. Either look in your runtime plugins directory for it or do "ss" at the osgi console to see if the plugin is resolved.
If the plugin got installed, then chances are that you did not change your plugin's org.eclipse.ercp.eworkbench.applications extension to give it a unique ID. Without this, being set right, the workbench will not list your application.
"Ismet Karakaya" <ismad@xxxxxx> wrote in message news:e9noej$rsm$1@xxxxxxxxxxxxxxxxxxxxHi Mark !
the installation process working well after i edit the site.xml with <site type="org.eclipse.ercp.update.http">
but after "Confirm Restart" -> "Restart WED for the changes to take effect" -> Yes or No , i tried both
changes had no effect,
the Plugin have don`t be addet to the List of Applications.
eclipse console has don't thrown exceptions.
i think the eUpdate-client have recieved the plugin because
my Apache (Usage Statistics) have count/increment the hits for my plugin /ercpBundles/plugins/eRCPsampleApp.app_1.0.0.jar
is <feature> okey or must i have <plugin> in the site.xml ?
must i have a feature.xml?
the site.xml :
<?xml version="1.0" encoding="UTF-8"?>
<site type="org.eclipse.ercp.update.http">
<description url="http://localhost/ercpBundles/">ercp Bundle Plugin</description>
<feature
url="plugins/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
Mark Rogalski schrieb: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@xxxxxxxxxxxxxxxxxxxxHi,
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