Image resources [message #39855] |
Thu, 19 July 2007 15:50  |
Eclipse User |
|
|
|
Originally posted by: mehow.infogenia.pl
I'm having a weird problem with image resources. It seems that all the
files are served from <working
directory> /workspace/.metadata/.plugins/org.eclipse.rap.ui.workbench/c ontext
directory. Also it seems that resources registered with
org.eclipse.rap.ui.workbench.resources extension point have their names
changed, e.g. MyScript.js becomes MyScript711125840.js. That's OK. But
what decides whether a file lands in this directory with name untouched
or doesn't land at all?
At some point I somehow managed to have images for my widget stored in
this directory, but now they don't appear there anymore and I have no
idea why. Can you help me?
Michał
|
|
|
Re: Image resources [message #39888 is a reply to message #39855] |
Fri, 20 July 2007 17:02  |
Eclipse User |
|
|
|
Originally posted by: mehow.infogenia.pl
Forget the problem. I discovered that the name is changed only if
RegisterOptions.VERSION is specified and that I can return null from
getCharset (as charset is of no use for images). So for images used in
my widget I could use org.eclipse.rap.ui.workbench extension, but I
would rather use org.eclipse.equinox.http.registry, as it is quite
cumbersome to create separate class for each image.
Michał
Michał Tkacz pisze:
> I'm having a weird problem with image resources. It seems that all the
> files are served from <working
> directory> /workspace/.metadata/.plugins/org.eclipse.rap.ui.workbench/c ontext
> directory. Also it seems that resources registered with
> org.eclipse.rap.ui.workbench.resources extension point have their names
> changed, e.g. MyScript.js becomes MyScript711125840.js. That's OK. But
> what decides whether a file lands in this directory with name untouched
> or doesn't land at all?
>
> At some point I somehow managed to have images for my widget stored in
> this directory, but now they don't appear there anymore and I have no
> idea why. Can you help me?
>
> Michał
|
|
|
Powered by
FUDForum. Page generated in 0.02010 seconds