|
Re: Target Definition [message #997019 is a reply to message #989910] |
Thu, 03 January 2013 12:21 |
maarten meijer Messages: 146 Registered: July 2009 |
Senior Member |
|
|
As I think you're confusing target and product definition:
- The target definition contains everything you need at development
time: platform, junit, other plugins, ....
- The product definition contains everything you want to export into
your RCP application, specied as features containing features and plugins.
When you need stuff at compile time, you're not "polluting the target
definition", when you export everything later on you are.
As reference, when doing RCP development you should include the source
bundles, so you get the definitions of all the extension point for your
plugin.xml. But you don't need to export these source bundles for the
application to run.
Maarten
Op 09-12-12 23:27, Eban Escott schreef:
> Hi,
>
> If I have bundles that are only required at compile-time and not at
> run-time, what is the best way to manage my target? i.e. I am using some
> modelling tools that are not required when I start my application and I
> do not want to pollute my target definition with compile-time only
> bundles as it will get very large quickly.
>
> http://wiki.eclipse.org/PDE/Target_Definitions
>
> Cheers
> Eban
|
|
|
|
Re: Target Definition [message #1000617 is a reply to message #1000610] |
Tue, 15 January 2013 05:20 |
Ed Merks Messages: 33145 Registered: July 2009 |
Senior Member |
|
|
Eban,
In the launcher you can specify which bundles you want on the classpath
at runtime. If you need things for compilation, you definitely need to
leave them in your target platform (on the Plug-ins tab).
On 15/01/2013 6:14 AM, Eban Escott wrote:
> Hi Maarten,
>
> Thanks for the response. I am not building an RCP application, I am
> building an OSGi-based web application that does not use RCP.
>
> So, I have a target definition containing all bundles that are used by
> the deployed application. Then I can use a launch configuration to
> start the application.
>
> I do not see how a product definition would help. Any ideas?
>
> Cheers
> Eban
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03610 seconds