Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Cannot export RCP application
Cannot export RCP application [message #462685] Wed, 31 January 2007 15:38 Go to next message
Patrick Godeau is currently offline Patrick GodeauFriend
Messages: 64
Registered: July 2009
Member
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 22:59 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
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 07:52 Go to previous messageGo to next message
Patrick Godeau is currently offline Patrick GodeauFriend
Messages: 64
Registered: July 2009
Member
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 14:51 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
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 15:24 Go to previous messageGo to next message
Patrick Godeau is currently offline Patrick GodeauFriend
Messages: 64
Registered: July 2009
Member
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 20:13 Go to previous messageGo to next message
Snjezana Peco is currently offline Snjezana PecoFriend
Messages: 789
Registered: July 2009
Senior Member
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 21:54 Go to previous messageGo to next message
Mike Gering is currently offline Mike GeringFriend
Messages: 41
Registered: July 2009
Member
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 22:08 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
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 22:18 Go to previous messageGo to next message
Mike Gering is currently offline Mike GeringFriend
Messages: 41
Registered: July 2009
Member
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 15:32 Go to previous messageGo to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
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 17: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 16:47 Go to previous messageGo to next message
Patrick Godeau is currently offline Patrick GodeauFriend
Messages: 64
Registered: July 2009
Member
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] Tue, 06 February 2007 00:32 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
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 18:20 Go to previous message
Mike Gering is currently offline Mike GeringFriend
Messages: 41
Registered: July 2009
Member
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: Thu Sep 19 07:30:05 GMT 2024

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

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

Back to the top