Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Problem with own update site
Problem with own update site [message #300073] Wed, 01 March 2006 09:55 Go to next message
Eclipse UserFriend
Originally posted by: michael.illgner.email.de

Hi folks,
I have build a local update site for the main feature of my RCP application.
The updated feature is correctly found and recognized, but the update
complains that the plugin 'org.eclipse.core.runtime' could not be found,
which is not on the update site.

Is this a problem with my feature.xml , my product configuration or with
the update site definition ?

Michael
Re: Problem with own update site [message #300077 is a reply to message #300073] Wed, 01 March 2006 10:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Does one of your features have org.eclipse.core.runtime listed as one of
its plugins (versus being a REQUIRED plugin). That would make it think
that the plugin is in your feature and should be downloaded.


Michael Illgner wrote:
> Hi folks,
> I have build a local update site for the main feature of my RCP
> application.
> The updated feature is correctly found and recognized, but the update
> complains that the plugin 'org.eclipse.core.runtime' could not be found,
> which is not on the update site.
>
> Is this a problem with my feature.xml , my product configuration or with
> the update site definition ?
>
> Michael

--
Thanks,
Rich Kulp
Re: Problem with own update site [message #300083 is a reply to message #300077] Wed, 01 March 2006 11:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: michael.illgner.email.de

Rich Kulp wrote:
> Does one of your features have org.eclipse.core.runtime listed as one of
> its plugins (versus being a REQUIRED plugin). That would make it think
> that the plugin is in your feature and should be downloaded.
>
>
No,
It has just dependencies on the required plugins. When I remove these
dependencies, all seems to work fine .
Re: Problem with own update site [message #300097 is a reply to message #300083] Wed, 01 March 2006 19:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: automatic.javalobby.org

Can you post your feature.xml here?

Alex.
Re: Problem with own update site [message #300099 is a reply to message #300097] Thu, 02 March 2006 03:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: michael.illgner.email.de

Alex Blewitt wrote:
> Can you post your feature.xml here?
>
Sure,

<?xml version="1.0" encoding="UTF-8"?>
<feature
id="www.example.com.acc.feature"
label="www.example.com.acc.feature"
version="0.4.0"
provider-name="%feature_provider"
plugin="www.example.com.acc">

<description url="http://www.example.com/description">
[Enter Feature Description here.]
</description>

<copyright url="http://www.example.com/copyright">
[Enter Copyright Description here.]
</copyright>

<license url="http://www.example.com/license">
[Enter License Description here.]
</license>

<requires>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.ui.forms"/>
<import plugin="org.eclipse.emf.ecore.xmi"/>
<import plugin="org.eclipse.emf.edit.ui"/>
<import plugin="org.eclipse.help"/>
<import plugin="org.eclipse.core.resources"/>
<import plugin="org.eclipse.ui.views"/>
<import plugin="org.eclipse.help.webapp"/>
<import plugin="org.eclipse.tomcat"/>
<import plugin="org.eclipse.help.ui"/>
<import plugin="org.eclipse.jface"/>
<import plugin="org.eclipse.ui.workbench"/>
<import plugin="org.eclipse.emf.ecore"/>
<import plugin="org.eclipse.emf.edit"/>
<import plugin="org.eclipse.emf.common.ui"/>
<import plugin="org.eclipse.emf.ecore.change"/>
<import feature="org.eclipse.rcp" version="3.1.2"/>
</requires>

<plugin
id="www.example.com.acc"
download-size="0"
install-size="0"
version="0.4.0"/>

<plugin
id="www.example.com.acc.amc"
download-size="0"
install-size="0"
version="0.4.0"
unpack="false"/>

<plugin
id="www.example.com.acc.common"
download-size="0"
install-size="0"
version="0.4.0"
unpack="false"/>

<plugin
id="www.example.com.acc.config"
download-size="0"
install-size="0"
version="0.4.0"
unpack="false"/>

<plugin
id="www.example.com.acc.help"
download-size="0"
install-size="0"
version="0.4.0"
unpack="false"/>

<plugin
id="www.example.com.apache.commons"
download-size="0"
install-size="0"
version="0.4.0"
unpack="false"/>

<plugin
id="www.example.com.bas"
download-size="0"
install-size="0"
version="0.4.0"
unpack="false"/>

<plugin
id="www.example.com.util.logging"
download-size="0"
install-size="0"
version="0.4.0"
unpack="false"/>

<plugin
id="www.example.com.acc.data"
download-size="0"
install-size="0"
version="0.4.0"
unpack="false"/>

<plugin
id="www.example.com.acc.amc.model"
download-size="0"
install-size="0"
version="0.4.0"
unpack="false"/>

<plugin
id="www.example.com.acc.cmc"
download-size="0"
install-size="0"
version="0.4.0"
unpack="false"/>

<plugin
id="www.example.com.acc.cmc.model"
download-size="0"
install-size="0"
version="0.4.0"
unpack="false"/>

<plugin
id="www.example.com.acc.cmc.model.edit"
download-size="0"
install-size="0"
version="0.4.0"
unpack="false"/>

<plugin
id="www.example.com.acc.ccc"
download-size="0"
install-size="0"
version="0.4.0"
unpack="false"/>

<plugin
id="www.example.com.acc.ccc.tasks"
download-size="0"
install-size="0"
version="0.4.0"
unpack="false"/>

</feature>
Re: Problem with own update site [message #300125 is a reply to message #300099] Thu, 02 March 2006 11:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: automatic.javalobby.org

Weird. Looks OK. (Well, not on <a href=" http://www.eclipsezone.com/eclipse/forums/m91995238.html#919 95238">elipsezone.com</a> but on
<a href=" http://www.eclipse.org/newsportal/article.php?id=52076&g roup=eclipse.platform#52076">eclipse.org</a> it does :-)

Do you really need to define a dependency on the org.eclipse.rcp feature? You've already listed the plugins that come with RCP anyway, so it's possibly not even necessary to define that (and prevents people installing it into a non-RCP Eclipse app even if they've already got the required plugin set).

I seem to recall that there were problems with local update sites for some reason, but I don't know if it's related. I'd suggest trying to install Apache or similar and serve your update sites via HTTP instead of file, and see if there's any difference.

Lastly, in the eclipse install that you're updating, try running with -console to see the OSGi view, and see if there's anything there about which plugin(s) are installed.

Alex.
Re: Problem with own update site [message #300136 is a reply to message #300125] Thu, 02 March 2006 11:48 Go to previous message
Eclipse UserFriend
Originally posted by: michael.illgner.email.de

Alex Blewitt wrote:
> Weird. Looks OK. (Well, not on <a href=" http://www.eclipsezone.com/eclipse/forums/m91995238.html#919 95238">elipsezone.com</a> but on
> <a href=" http://www.eclipse.org/newsportal/article.php?id=52076&g roup=eclipse.platform#52076">eclipse.org</a> it does :-)
>
> Do you really need to define a dependency on the org.eclipse.rcp feature? You've already listed the plugins that come with RCP anyway, so it's possibly not even necessary to define that (and prevents people installing it into a non-RCP Eclipse app even if they've already got the required plugin set).
>
> I seem to recall that there were problems with local update sites for some reason, but I don't know if it's related. I'd suggest trying to install Apache or similar and serve your update sites via HTTP instead of file, and see if there's any difference.
>
> Lastly, in the eclipse install that you're updating, try running with -console to see the OSGi view, and see if there's anything there about which plugin(s) are installed.
>
> Alex.

When I remove all 'required' entries from the feature.xml, the update
works, which is all I want at the moment ;-)
But later I also want to update the core plugins. Do I need the rcp
feature.xml from RCP in my installation ?
Previous Topic:Plugin activation in JUnit plugin tests
Next Topic:Bundle-NativeCode issue.
Goto Forum:
  


Current Time: Fri Jul 25 18:07:35 EDT 2025

Powered by FUDForum. Page generated in 0.04255 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top