Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Image resources
Image resources [message #39855] Thu, 19 July 2007 15:50 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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ł
Previous Topic:tomcat deployment problem
Next Topic:Problems opening rap in different browser windows
Goto Forum:
  


Current Time: Wed Apr 24 19:12:35 GMT 2024

Powered by FUDForum. Page generated in 0.02859 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top