Where to put 'VAADIN' directory to use Chameleon without 'WebContent' dir

Hi,

I’d like to use the Chameleon theme but the howtos say add to your ‘WebContent’ directory. I don’t have a ‘WebContent’ directory as the project wasn’t created using Eclipse.

From the deployed base directory I have META-INF, WEB-INF. Can someone recommend where to put the VAADIN/themes/custom_chameleon/… directory?

my directory structure is currently:

myapp / src / main / java
myapp / src / main / resources / META-INF
myapp / src / main / webapp / META-INF
myapp / src / main / webapp / WEB-INF

Thanks,

David

The VAADIN directory should be created alongside the META-INF and WEB-INF folders.

OK I found an explanation in
http://kastork.github.com/2011/01/Liferay-Friendly-VAADIN-Themes/.
The docs say you deploy the JAR, however my app server (jetty right now) isn’t unpacking it so you need to do this manually and deploy the style.css file stand-alone.

e.g.:


src
   main
      java
      resources
      webapp
         META-INF
         VAADIN
            themes
               chameleon_theme_name
                  style.css

FYI I also got round the favicon error by creating an 16x16 .ico file and putting into the same directory as style.css.