Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » [RAP 2.3] theme not working with WAR file
[RAP 2.3] theme not working with WAR file [message #1740547] Mon, 15 August 2016 15:10 Go to next message
Andreas Reuter is currently offline Andreas ReuterFriend
Messages: 2
Registered: November 2014
Junior Member

I have a custom theme that I have added to the ApplicationConfiguration with addStyleSheet(..) and added it to the properties object for my entry point. It works just as expected when launching the application from Eclipse IDE.
When I deploy to tomcat with a WAR file, the application works as expected except that the theme/images are not loaded and it falls back on the default.

In '' I have made sure that the theme and images folders are included and checked that they are indeed in the plugin jar inside the WAR file.

OSGI console shows everything ACTIVE (except servletbridge which is RESOLVED). The tomcat logs show no errors at all.

I am using eclipse Luna, running El Capitan 10.11.5, using tomcat 8.5.4.

This was already working a year ago, but now I resumed development with a new machine and had to setup everything. I am not sure what I missed since everything seems to be working except access to theme/resources.

Re: [RAP 2.3] theme not working with WAR file [message #1742578 is a reply to message #1740547] Mon, 05 September 2016 12:10 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2359
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
please check if all resources are available in the WAR file. Check also your file.
Previous Topic:e4 RAP - Object are never destroyed when closing UISession
Next Topic:Virtual Tableviewer with SWT.CHECK
Goto Forum:

Current Time: Wed Oct 27 14:32:19 GMT 2021

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

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

Back to the top