Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » org.eclipse.ui.forms does not get exported
org.eclipse.ui.forms does not get exported [message #462574] Tue, 30 January 2007 17:31 Go to next message
Anand Narasimhan is currently offline Anand NarasimhanFriend
Messages: 104
Registered: July 2009
Senior Member
Hi,

I am trying to export my RCP product. My product configuration is based
on features. I added the RCP feature as an included feature. Export
seems to work, but does not export org.eclipse.ui.forms plugin. Looks
like org.eclipse.ui.forms is not part of the RCP feature. It is included
in the platform feature, but the platform feature has the IDE and other
things that I do not want.

How do I make the export wizard to export all the required
plugins/features.

Thanks
Anand

--
____________________________________________________________ _________________________

Anand Narasimhan
anandn@cisco.com
Re: org.eclipse.ui.forms does not get exported [message #462575 is a reply to message #462574] Tue, 30 January 2007 17:40 Go to previous messageGo to next message
Charlie Kelly is currently offline Charlie KellyFriend
Messages: 276
Registered: July 2009
Senior Member
Hi Anand,

One solution is to create a new folder that has a "target" version of
Eclipse that contains just the plugins you need for your RCP.

You could start with an RCP distribution and "work up" by adding
plugins, or start with a "platorm distribution" (not an IDE
distribution) and "work down". (Note: platform distribution and IDE
distributions are distinct.)

After you have done this, return to the IDE distribution where you are
developing your source code and use Window->Preferences->Plugin
Development->Target Platform to select the Eclipse version in the folder
you just created.

Hope this helps.

Charlie


Anand Narasimhan wrote:
> Hi,
>
> I am trying to export my RCP product. My product configuration is based
> on features. I added the RCP feature as an included feature. Export
> seems to work, but does not export org.eclipse.ui.forms plugin. Looks
> like org.eclipse.ui.forms is not part of the RCP feature. It is included
> in the platform feature, but the platform feature has the IDE and other
> things that I do not want.
>
> How do I make the export wizard to export all the required
> plugins/features.
>
> Thanks
> Anand
>
Re: org.eclipse.ui.forms does not get exported [message #462577 is a reply to message #462574] Tue, 30 January 2007 17:42 Go to previous messageGo to next message
Patrick Paulin is currently offline Patrick PaulinFriend
Messages: 44
Registered: July 2009
Location: Madison, Wisconsin
Member
Hi Anand,

Yes, the forms plugin is not included in the RCP feature. I actually think
it should be, as it's very commonly used. But then again, the help plugins
are not included either. I think the goal is to keep the base RCP
distribution as light as possible.

In any case, you'll need to add the forms plugin to a feature of your own.
Either add it to one of the features that make up your product, or create
an RCP "extras" feature that includes eclipse plugins not included in the
core RCP distribution.

--- Patrick
patrick@rcpquickstart.com


Anand Narasimhan wrote:

> Hi,

> I am trying to export my RCP product. My product configuration is based
> on features. I added the RCP feature as an included feature. Export
> seems to work, but does not export org.eclipse.ui.forms plugin. Looks
> like org.eclipse.ui.forms is not part of the RCP feature. It is included
> in the platform feature, but the platform feature has the IDE and other
> things that I do not want.

> How do I make the export wizard to export all the required
> plugins/features.

> Thanks
> Anand


Patrick Paulin
Eclipse RCP/OSGi Trainer and Consultant
Modular Mind, Ltd.

patrick@modumind.com
www.modumind.com
twitter.com/pjpaulin
linkedin.com/in/pjpaulin
Re: org.eclipse.ui.forms does not get exported [message #462689 is a reply to message #462577] Wed, 31 January 2007 19:15 Go to previous messageGo to next message
Anand Narasimhan is currently offline Anand NarasimhanFriend
Messages: 104
Registered: July 2009
Senior Member
Hi,

Thanks for the reply. Creating the "extras" feature seems to work, but I
have another problem.

I am using Sun JDK 1.5 as my project JDK. But while exporting the
product, the source are compiled using the Eclipse java compiler. Is
there a way to force the PDE build to use Sun Java compiler?

Thanks
Anand

Patrick Paulin wrote:
> Hi Anand,
>
> Yes, the forms plugin is not included in the RCP feature. I actually
> think it should be, as it's very commonly used. But then again, the help
> plugins are not included either. I think the goal is to keep the base
> RCP distribution as light as possible.
>
> In any case, you'll need to add the forms plugin to a feature of your
> own. Either add it to one of the features that make up your product, or
> create an RCP "extras" feature that includes eclipse plugins not
> included in the core RCP distribution.
>
> --- Patrick
> patrick@rcpquickstart.com
>
>
> Anand Narasimhan wrote:
>
>> Hi,
>
>> I am trying to export my RCP product. My product configuration is
>> based on features. I added the RCP feature as an included feature.
>> Export seems to work, but does not export org.eclipse.ui.forms plugin.
>> Looks like org.eclipse.ui.forms is not part of the RCP feature. It is
>> included in the platform feature, but the platform feature has the IDE
>> and other things that I do not want.
>
>> How do I make the export wizard to export all the required
>> plugins/features.
>
>> Thanks
>> Anand
>
>
>


--
____________________________________________________________ _________________________

Anand Narasimhan
anandn@cisco.com
Re: org.eclipse.ui.forms does not get exported [message #462764 is a reply to message #462689] Wed, 31 January 2007 22:56 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
No, it's not (AFAIK). The Eclipse compiler actually does a number of things that the Sun one doesn't, such as checking for Manifest's export/import packages being correctly obeyed. If you compiled with the Sun compiler, then it's possible that you could have package references which aren't allowed by the OSGi and would cause runtime errors.

What perceived benefit is there of using the Sun compiler?

Alex.
Re: org.eclipse.ui.forms does not get exported [message #462999 is a reply to message #462764] Sat, 03 February 2007 06:04 Go to previous messageGo to next message
Anand Narasimhan is currently offline Anand NarasimhanFriend
Messages: 104
Registered: July 2009
Senior Member
But for some reason, I see a lot of compilation errors during export,
which I don't see when I build the project from the IDE with Sun java
compiler. What could be the reason?

Thanks
Anand

Alex Blewitt wrote:
> No, it's not (AFAIK). The Eclipse compiler actually does a number of things that the Sun one doesn't, such as checking for Manifest's export/import packages being correctly obeyed. If you compiled with the Sun compiler, then it's possible that you could have package references which aren't allowed by the OSGi and would cause runtime errors.
>
> What perceived benefit is there of using the Sun compiler?
>
> Alex.


--
____________________________________________________________ _________________________

Anand Narasimhan
anandn@cisco.com
Re: org.eclipse.ui.forms does not get exported [message #463000 is a reply to message #462764] Sat, 03 February 2007 10:03 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
> For some reason, I see a lot of compilation errors during export,
> which I don't see when I build the project from the IDE with Sun java
> compiler. What could be the reason?

How are you building the project from the IDE with the Sun Java compiler? All the compilation is done using the JDT, regardless of which JDK/JRE you have installed. Even if you build with ant's javac task, you can configure it to use the Eclipse JDT.

The JDT is configurable with a bunch of properties which get stored in a file like .javacargs (it's not that exact name, but something similar). It may be that that's out of step with your project.

What exactly are the compile errors? I doubt that it's anything to do with which JRE you're using.

Alex.
Re: org.eclipse.ui.forms does not get exported [message #463006 is a reply to message #463000] Sat, 03 February 2007 17:15 Go to previous message
Charlie Kelly is currently offline Charlie KellyFriend
Messages: 276
Registered: July 2009
Senior Member
Also, you might want to check your build.properties.
During product export, build.properties is used to enhance classpath.

Charlie

Alex Blewitt wrote:
>>For some reason, I see a lot of compilation errors during export,
>>which I don't see when I build the project from the IDE with Sun java
>>compiler. What could be the reason?
>
>
> How are you building the project from the IDE with the Sun Java compiler? All the compilation is done using the JDT, regardless of which JDK/JRE you have installed. Even if you build with ant's javac task, you can configure it to use the Eclipse JDT.
>
> The JDT is configurable with a bunch of properties which get stored in a file like .javacargs (it's not that exact name, but something similar). It may be that that's out of step with your project.
>
> What exactly are the compile errors? I doubt that it's anything to do with which JRE you're using.
>
> Alex.
Previous Topic:How to disable Restore Default Value menu in Properties view?
Next Topic:using IPersistableElement
Goto Forum:
  


Current Time: Wed Sep 18 05:31:46 GMT 2024

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

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

Back to the top