JFace dependancies [message #447745] |
Thu, 16 December 2004 17:05  |
Eclipse User |
|
|
|
Hello,
I would like to evolve my SWT application with using the Model- and
Viewer-Classes of JFace. Now, as far as I know in order to use JFace I need to
put runtime.jar and platform.jar on the classpath too. I do not understand why,
since the Model-Classes should work without it, or am I wrong?
Regards,
Ben
|
|
|
|
|
Re: JFace dependancies [message #447915 is a reply to message #447907] |
Tue, 21 December 2004 16:08   |
Eclipse User |
|
|
|
Thanks Chris, that bug report is exactly what I was talking about.
Too bad that activity froze some months ago :/
Regards,
Ben
> I think you need runtime.jar and osgi.jar but not platform.jar.
>
> JFace depends on some classes in the runtime packages. From what I've
> heard, the Platform UI team (they're responsible for JFace, not the SWT
> team) isn't explicitly designing JFace for standalone SWT app use. I think
> they are not trying to make things very tightly coupled to Eclipse, but at
> the same time they aren't practicing any specific discipline to assure that
> there is zero coupling. So there are instances where the JFace classes
> require some runtime classes (which in turn require some osgi classes). I
> believe the Platform UI team is debating whether to devote time to removing
> these dependencies from JFace.
>
> See:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=49497
>
> -Chris
>
>
> "Benjamin Pasero" <bpasero@rssowl.org> wrote in message
> news:cq9m0j$o84$1@www.eclipse.org...
>
>>Any comments?
>>
>>
>>>Hello,
>>>
>>>I would like to evolve my SWT application with using the Model- and
>>>Viewer-Classes of JFace. Now, as far as I know in order to use JFace I
>>>need to put runtime.jar and platform.jar on the classpath too. I do not
>>>understand why, since the Model-Classes should work without it, or am I
>>>wrong?
>>>
>>>Regards,
>>>Ben
>
>
>
|
|
|
Re: JFace dependancies [message #448121 is a reply to message #447745] |
Mon, 03 January 2005 12:30  |
Eclipse User |
|
|
|
On 16.12.2004 23:05 Uhr, in article cpt0t3$d2c$1@www.eclipse.org, "Benjamin
Pasero" <bpasero@rssowl.org> wrote:
> Hello,
>
> I would like to evolve my SWT application with using the Model- and
> Viewer-Classes of JFace. Now, as far as I know in order to use JFace I need to
> put runtime.jar and platform.jar on the classpath too. I do not understand
> why,
> since the Model-Classes should work without it, or am I wrong?
>
> Regards,
> Ben
A few months ago I've implemented a few stubs that eliminated the
dependencies on runtime.jar, platform.jar and OSGI.jar without problems.
Let me know if you are interested...
--andre
|
|
|
Powered by
FUDForum. Page generated in 0.45305 seconds