Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Cannot export RCP application
Cannot export RCP application [message #462685] Wed, 31 January 2007 10:38 Go to next message
Eclipse UserFriend
Hello,

When I try to export my RCP application (based on a feature) I now have
this error message:

----
Problems during export
Reason:
Unable to find plug-in: org.eclipse.swt_3.2.1.v3235e. Please check the
error log for more details.
----

So I checked the error log, but found no trace for this Eclipse execution.

I also checked eclipse/plugins directory, and found the file
org.eclipse.swt_3.2.1.v3235e.jar. There is also a 3.2.2 version.

Note that I recently updated my Eclipse (via update manager) to version
3.2.1.

Also, I always have a "network connection problem" on update:
Unable to access "http://download.eclipse.org/tools/emf/updates/".
Error parsing site stream.

Can you tell me what's wrong? I'm a bit lost with these feature
dependencies...

Your help is welcome!

Thanks!

--
Patrick
Re: Cannot export RCP application [message #462766 is a reply to message #462685] Wed, 31 January 2007 17:59 Go to previous messageGo to next message
Eclipse UserFriend
Does the feature include both SWT and also the SWT native plugins? I'm assuming that it's not depending on the RCP layer. (You should probably depend on the RCP layer; it will help a lot.) Have a look at features/org.eclipse.rcp_v1234/feature.xml to see what else you need to have.

Note that the feature export *only* includes what's in the feature. It doesn't matter whether it's in the eclipse/plugins directly; directly or indirectly, you need to have it mentioned in an export somewhere.

The EMF update is a known issue and will be fixed in 3.2.2; in the meantime, you can ignore that or find the update url in the feature.xml and manually overwrite it yourself. Search https://bugs.eclipse.org for the issue and the correct URL.

Alex.
Re: Cannot export RCP application [message #462786 is a reply to message #462766] Thu, 01 February 2007 02:52 Go to previous messageGo to next message
Eclipse UserFriend
Alex Blewitt a écrit :
> Does the feature include both SWT and also the SWT native plugins?
> I'm assuming that it's not depending on the RCP layer. (You should
> probably depend on the RCP layer; it will help a lot.)

The feature _is_ based on RCP (I have org.eclipse.rcp 3.2.1 in Included
Features) so I don't know why it asks for SWT, which I believe is
included in RCP.

Here is a copy of my feature.xml if it helps. It worked, until I updated
Eclipse.

[...]

<includes
id="org.eclipse.rcp"
version="0.0.0"/>

<includes
id="org.eclipse.rcp.nls1"
version="0.0.0"/>

<requires>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.apache.commons_logging"/>
<import plugin="org.apache.xerces"/>
<import plugin="org.eclipse.help"/>
</requires>

<plugin
id="fr.alma.opaline123.plugin"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.apache.lucene"
download-size="0"
install-size="0"
version="0.0.0"/>

<plugin
id="org.eclipse.help"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.help.appserver"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.help.appserver.nl1"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>

<plugin
id="org.eclipse.help.base"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.help.base.nl1"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>

<plugin
id="org.eclipse.help.nl1"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>

<plugin
id="org.eclipse.help.ui"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.help.ui.nl1"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>

<plugin
id="org.eclipse.help.webapp"
download-size="0"
install-size="0"
version="0.0.0"/>

<plugin
id="org.eclipse.help.webapp.nl1"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"/>

<plugin
id="org.eclipse.ui"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.update.core"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.update.core.nl1"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>

<plugin
id="org.eclipse.update.ui"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.update.ui.nl1"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>

<plugin
id="org.eclipse.tomcat"
download-size="0"
install-size="0"
version="0.0.0"/>

<plugin
id="org.eclipse.tomcat.nl1"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"/>

<plugin
id="org.apache.commons_logging"
download-size="0"
install-size="0"
version="0.0.0"/>

<plugin
id="org.apache.xerces"
download-size="0"
install-size="0"
version="0.0.0"/>

<plugin
id="org.eclipse.ui.forms"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.ui.forms.nl1"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>
Re: Cannot export RCP application [message #462861 is a reply to message #462786] Thu, 01 February 2007 09:51 Go to previous messageGo to next message
Eclipse UserFriend
Unfortunately, the EclipseZone interface eats XML tags. If you can send it again but surround it with (xml) and (/xml) except using square brackets rather than round ones, it'll format correctly:


<this><is/><xml/></this>
[/xml]

http://www.eclipsezone.com/eclipse/forums/m92129998.html#921 29998

Alex.
Re: Cannot export RCP application [message #462864 is a reply to message #462861] Thu, 01 February 2007 10:24 Go to previous messageGo to next message
Eclipse UserFriend
Alex Blewitt a écrit :
> Unfortunately, the EclipseZone interface eats XML tags. If you can
> send it again but surround it with (xml) and (/xml) except using
> square brackets rather than round ones, it'll format correctly:
>
> <this><is/><xml/></this> [/xml]
>

I use a news reader so I didn't notice. It's also archived here:
http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg20005.html

Now with square brackets:


<includes
id="org.eclipse.rcp"
version="0.0.0"/>

<includes
id="org.eclipse.rcp.nls1"
version="0.0.0"/>

<requires>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.apache.commons_logging"/>
<import plugin="org.apache.xerces"/>
<import plugin="org.eclipse.help"/>
</requires>

<plugin
id="fr.alma.opaline123.plugin"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.apache.lucene"
download-size="0"
install-size="0"
version="0.0.0"/>

<plugin
id="org.eclipse.help"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.help.appserver"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.help.appserver.nl1"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>

<plugin
id="org.eclipse.help.base"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.help.base.nl1"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>

<plugin
id="org.eclipse.help.nl1"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>

<plugin
id="org.eclipse.help.ui"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.help.ui.nl1"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>

<plugin
id="org.eclipse.help.webapp"
download-size="0"
install-size="0"
version="0.0.0"/>

<plugin
id="org.eclipse.help.webapp.nl1"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"/>

<plugin
id="org.eclipse.ui"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.update.core"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.update.core.nl1"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>

<plugin
id="org.eclipse.update.ui"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.update.ui.nl1"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>

<plugin
id="org.eclipse.tomcat"
download-size="0"
install-size="0"
version="0.0.0"/>

<plugin
id="org.eclipse.tomcat.nl1"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"/>

<plugin
id="org.apache.commons_logging"
download-size="0"
install-size="0"
version="0.0.0"/>

<plugin
id="org.apache.xerces"
download-size="0"
install-size="0"
version="0.0.0"/>

<plugin
id="org.eclipse.ui.forms"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.ui.forms.nl1"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>
[/xml]
Re: Cannot export RCP application [message #462875 is a reply to message #462864] Thu, 01 February 2007 15:13 Go to previous messageGo to next message
Eclipse UserFriend
There is some issue with your org.eclipse.rcp feature (it is possible
that you have installed the Eclipse Runtime instead of the Eclipse SDK).
Try to add RCP plugins directly (instead of the org.eclipse.rcp feature).

Snjeza

Patrick Godeau wrote:
> Alex Blewitt a écrit :
>> Unfortunately, the EclipseZone interface eats XML tags. If you can
>> send it again but surround it with (xml) and (/xml) except using
>> square brackets rather than round ones, it'll format correctly:
>>
>> <this><is/><xml/></this> [/xml]
>>
>
> I use a news reader so I didn't notice. It's also archived here:
> http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/m sg20005.html
>
> Now with square brackets:
>
>
> <includes
> id="org.eclipse.rcp"
> version="0.0.0"/>
>
> <includes
> id="org.eclipse.rcp.nls1"
> version="0.0.0"/>
>
> <requires>
> <import plugin="org.eclipse.ui"/>
> <import plugin="org.eclipse.core.runtime"/>
> <import plugin="org.apache.commons_logging"/>
> <import plugin="org.apache.xerces"/>
> <import plugin="org.eclipse.help"/>
> </requires>
>
> <plugin
> id="fr.alma.opaline123.plugin"
> download-size="0"
> install-size="0"
> version="0.0.0"
> unpack="false"/>
>
> <plugin
> id="org.apache.lucene"
> download-size="0"
> install-size="0"
> version="0.0.0"/>
>
> <plugin
> id="org.eclipse.help"
> download-size="0"
> install-size="0"
> version="0.0.0"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.help.appserver"
> download-size="0"
> install-size="0"
> version="0.0.0"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.help.appserver.nl1"
> download-size="0"
> install-size="0"
> version="0.0.0"
> fragment="true"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.help.base"
> download-size="0"
> install-size="0"
> version="0.0.0"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.help.base.nl1"
> download-size="0"
> install-size="0"
> version="0.0.0"
> fragment="true"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.help.nl1"
> download-size="0"
> install-size="0"
> version="0.0.0"
> fragment="true"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.help.ui"
> download-size="0"
> install-size="0"
> version="0.0.0"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.help.ui.nl1"
> download-size="0"
> install-size="0"
> version="0.0.0"
> fragment="true"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.help.webapp"
> download-size="0"
> install-size="0"
> version="0.0.0"/>
>
> <plugin
> id="org.eclipse.help.webapp.nl1"
> download-size="0"
> install-size="0"
> version="0.0.0"
> fragment="true"/>
>
> <plugin
> id="org.eclipse.ui"
> download-size="0"
> install-size="0"
> version="0.0.0"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.update.core"
> download-size="0"
> install-size="0"
> version="0.0.0"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.update.core.nl1"
> download-size="0"
> install-size="0"
> version="0.0.0"
> fragment="true"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.update.ui"
> download-size="0"
> install-size="0"
> version="0.0.0"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.update.ui.nl1"
> download-size="0"
> install-size="0"
> version="0.0.0"
> fragment="true"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.tomcat"
> download-size="0"
> install-size="0"
> version="0.0.0"/>
>
> <plugin
> id="org.eclipse.tomcat.nl1"
> download-size="0"
> install-size="0"
> version="0.0.0"
> fragment="true"/>
>
> <plugin
> id="org.apache.commons_logging"
> download-size="0"
> install-size="0"
> version="0.0.0"/>
>
> <plugin
> id="org.apache.xerces"
> download-size="0"
> install-size="0"
> version="0.0.0"/>
>
> <plugin
> id="org.eclipse.ui.forms"
> download-size="0"
> install-size="0"
> version="0.0.0"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.ui.forms.nl1"
> download-size="0"
> install-size="0"
> version="0.0.0"
> fragment="true"
> unpack="false"/>
> [/xml]
Re: Cannot export RCP application [message #462882 is a reply to message #462875] Thu, 01 February 2007 16:54 Go to previous messageGo to next message
Eclipse UserFriend
I have exactly the same issue. My configuration exports correctly with a
separately installed version of eclipse 3.2.1, but fails with RSA 7. I
made a headless build script that works fine. It packages
org.eclipse.swt_3.2.1.v3235e.jar. I notice that in the RSA plugins
directory, there are two versions of this plugin:
org.eclipse.swt_3.2.1.v3235e.jar and org.eclipse.swt_3.2.2.v3235h.jar.
Could the 3.2.2 version be masking the 3.2.1 version?

Mike Gering
Re: Cannot export RCP application [message #462884 is a reply to message #462864] Thu, 01 February 2007 17:08 Go to previous messageGo to next message
Eclipse UserFriend
I'm not sure whether you have to use the right version number for the RCP feature, as opposed to 0.0.0. I think the plugins it will get automatically, but I'm not sure about the feature.

Alex.
Re: Cannot export RCP application [message #462886 is a reply to message #462882] Thu, 01 February 2007 17:18 Go to previous messageGo to next message
Eclipse UserFriend
Some follow-on info. I see that the org.eclipse.rcp.3.2.1.patch_1.0.0
feature refers to the newer swt plugin. I've tried to reconfigure my rcp
product definition (which is feature-based) to refer to the
org.eclipse.rcp.3.2.1.patch_1.0.0 feature, but it doesn't make any
difference.

So, the running platform is patched and has newer plugin versions, but
the product exporter doesn't seem able to handle the difference. Is this
the cause? Is there a workaround?

Mike Gering
Re: Cannot export RCP application [message #462964 is a reply to message #462875] Fri, 02 February 2007 10:32 Go to previous messageGo to next message
Eclipse UserFriend
Snjezana Peco wrote:
> There is some issue with your org.eclipse.rcp feature (it is possible
> that you have installed the Eclipse Runtime instead of the Eclipse SDK).
> Try to add RCP plugins directly (instead of the org.eclipse.rcp feature).

I also observed a problem with my Eclipse 3.2.1 since RCP/SWT patches
where available - Export was no longer possible (An error dialog saying
that org.eclipse.swt_3.2.1.v3235e could not be found, although it was
avaliable). The current workaround for me was to *remove* the following
new plugins:

org.eclipse.osgi_3.2.2.R32x_v20061101.jar
org.eclipse.swt.win32.win32.x86_3.2.2.v3235a.jar
org.eclipse.swt_3.2.2.v3235h.jar
org.eclipse.update.core_3.2.2.v20092006-patch1.jar

Any ideas how to fix this properly, that is including the *new* plugins?

Thanks and Greetings from Bremen,

Daniel Krügler
Re: Cannot export RCP application [message #462971 is a reply to message #462685] Fri, 02 February 2007 12:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: janos.varadi.gmail.com

I had the same problem and I disabled following plugin

org.eclipse.platform.3.2.1.patch

Help => Software Updates => Manage Configuration

Disable listed plugin
Re: Cannot export RCP application [message #463026 is a reply to message #462886] Mon, 05 February 2007 11:47 Go to previous messageGo to next message
Eclipse UserFriend
Mike Gering a écrit :
> Some follow-on info. I see that the org.eclipse.rcp.3.2.1.patch_1.0.0
> feature refers to the newer swt plugin. I've tried to reconfigure my rcp
> product definition (which is feature-based) to refer to the
> org.eclipse.rcp.3.2.1.patch_1.0.0 feature, but it doesn't make any
> difference.
>
> So, the running platform is patched and has newer plugin versions, but
> the product exporter doesn't seem able to handle the difference. Is this
> the cause? Is there a workaround?

Thanks Mike, you're right. It worked after I uninstalled this patch.
Maybe the patch should be patched :-/
However I don't know where to report this bug.

--
Patrick
Re: Cannot export RCP application [message #463074 is a reply to message #463026] Mon, 05 February 2007 19:32 Go to previous messageGo to next message
Eclipse UserFriend
https://bugs.eclipse.org is the place to file these kinds of bugs.

Alex.
Re: Cannot export RCP application [message #463094 is a reply to message #462886] Tue, 06 February 2007 13:20 Go to previous message
Eclipse UserFriend
I solved this problem by manually creating a target platform and
configuring it in the PDE prefs. I unzipped the contents of the various
redistributable packages that I need (in my case RCP, EMF, GEF, RCP
delta, and equinox) into an independent directory and set my target
platform to point there. I think this makes a lot of sense since the
application I'm creating should known quantity that doesn't change
whenever I update my development IDE. Even though there may be a bug
that prevents a patched IDE from being the target platform, I would
rather not have my app inherit the patches unless I explicitly decide to
put them into my target platform. YMMV

Mike Gering
Previous Topic:Listen to data changes with CommonNavigator
Next Topic:Headless Build Problem
Goto Forum:
  


Current Time: Sun Aug 31 11:12:35 EDT 2025

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

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

Back to the top