Plug-in cache [message #310092] |
Mon, 20 November 2006 17:26  |
Eclipse User |
|
|
|
Originally posted by: wharley.bea.com
Paul Webster wrote in another newsgroup:
> Left to its own devices, Java doesn't do Jars inside other Jars. Eclipse
> plugins that contain jars have the jars extracted to a temporary location
> at runtime so they can be used.
That was always my understanding, but I just went looking and couldn't find
the directory that was being used. Where is it? Is it cleared at any time
other than when the IDE is invoked with the -clean cmd line arg?
I ask because I'm wondering about the possibility that (for certain
proprietary plug-ins written by my company) that cacheing process might run
afoul of the maximum path length limit in Windows, when Eclipse is deployed
to a deep directory tree.
|
|
|
|
|
Re: Plug-in cache [message #310126 is a reply to message #310113] |
Wed, 22 November 2006 08:35  |
Eclipse User |
|
|
|
Walter Harley wrote:
>
> Interestingly, in my eclipse/configuration/org.eclipse.osgi/bundles
> directories, I do see contents, but none of them are .jar files; there are a
> couple of .class files and mostly resources like .gif and .css. Maybe I've
> just hit different bundles?
>
> Do you know what the algorithm is for when something gets cached and whether
> it gets unpacked? It doesn't really matter wrt the original question, I'm
> just idly interested.
>
I'm not really sure, but I think OSGi expands things in the config area
that the OSGi framework wants cached ... either for performance or
technical reasons (like jars from within jars). I think if a jar is in
a directory plugin instead of a jar plugin, it doesn't need to be
extracted. But my information here is 3rd-hand.
I do know this is totally different the workspace cache, which does
extract resources into the .metadata directory, but usually in response
to a Platform.asLocalURL(*) call.
Later,
PW
|
|
|
Powered by
FUDForum. Page generated in 0.07307 seconds