Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Singlesourcing Branding (Splashscreen)
Singlesourcing Branding (Splashscreen) [message #131062] Mon, 04 May 2009 13:33 Go to next message
Eclipse UserFriend
Originally posted by: bjoern.bjoernfischer.de

Hello everybody,
in our RAP application we use a branding (extension point
org.eclipse.rap.ui.branding) that includes a cusotom favicon, title and
body (which contains html showing a splash image and a feedback gif).

Since we are single sourcing, we put the rap-branding-specific files in
a folder named "html" in the rap fragment. This configuration shows the
branding when starting my app from the IDE.

But when deploying the app on a web container we gained a
NullPointerException concerning the branding. After some time of
investigation I found out that putting the branding files into the
host-bunle (my.application) does the trick. Now I see the branding when
invoking the app on the web container.

Unfortionately this is not a very elegant solution concerning single
sourcing, since the host bundle should not contain any rap specific
artefacts (like the html and pictures for the rap branding). Does anyone
know how to leave the files in the rap fragment and make them known to
rap at runtime?

Thanks in advance!

Regards
Björn
Re: Singlesourcing Branding (Splashscreen) [message #131074 is a reply to message #131062] Mon, 04 May 2009 14:03 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi Björn,

the first thing you should check is that all the files are included in
your build.properties file. Otherwise they are not exported by PDE and
cannot be found after deploying the application.

Cheers
Benny


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource

Björn Fischer wrote:
> Hello everybody,
> in our RAP application we use a branding (extension point
> org.eclipse.rap.ui.branding) that includes a cusotom favicon, title and
> body (which contains html showing a splash image and a feedback gif).
>
> Since we are single sourcing, we put the rap-branding-specific files in
> a folder named "html" in the rap fragment. This configuration shows the
> branding when starting my app from the IDE.
>
> But when deploying the app on a web container we gained a
> NullPointerException concerning the branding. After some time of
> investigation I found out that putting the branding files into the
> host-bunle (my.application) does the trick. Now I see the branding when
> invoking the app on the web container.
>
> Unfortionately this is not a very elegant solution concerning single
> sourcing, since the host bundle should not contain any rap specific
> artefacts (like the html and pictures for the rap branding). Does anyone
> know how to leave the files in the rap fragment and make them known to
> rap at runtime?
>
> Thanks in advance!
>
> Regards
> Björn
Re: Singlesourcing Branding (Splashscreen) [message #135041 is a reply to message #131074] Fri, 05 June 2009 10:37 Go to previous message
Eclipse UserFriend
Originally posted by: bjoern.bjoernfischer.de

Hi Benny,
I thouht that I checked the build.properties before posting. But
recently I tried to remove the branding stuff from the host bundle, and
it still works. So probably that was the issue. Anyway thanks for your
explanation.

Regards,
Björn

Benjamin Muskalla schrieb:
> Hi Björn,
>
> the first thing you should check is that all the files are included in
> your build.properties file. Otherwise they are not exported by PDE and
> cannot be found after deploying the application.
>
> Cheers
> Benny
>
>
Previous Topic:Why is ImageLoader restricted?
Next Topic:Table.indexOf not optimized like in SWT
Goto Forum:
  


Current Time: Wed Apr 24 19:52:44 GMT 2024

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

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

Back to the top