Re: Eclipse vs plugin.jar
On Fri, 28 Jan 2011, Daniele Futtorovic wrote:
On 28/01/2011 17:23, Tom Anderson allegedly wrote:
We're developing using Eclipse. Eclipse has no idea about plugin.jar.
What's the right way to teach it?
Firstly, I assume the problem is it doesn't compile, isn't it?
Yes, absolutely.
Because it should run fine.
I would hope so.
I'm not using Eclipse anymore these days, so I don't know exactly, but
isn't there some point where you define your "platform", viz. the JDK
you're using?
They come pre-packaged (you tell Eclipse where the JDK home directory is,
and it searches out jars in it). It pulls jars from the JDK but not the
JRE, so it doesn't include plugin.jar by default.
Wouldn't including the lib in question belong in that step?
It is possible to edit the list, so yes, we could add plugin.jar there.
That has roughly the same disadvantages as adding a new 'library', in that
it has to be done individually on each machine, but it is rather neater.
Definitely an option to consider.
tom
--
If god did exist, we would have to abolish him. -- Mikhail Bakunin