I did not find anything related to this topic (at least no solution).
Is it possible to have the theme (at compile time, for the “update-theme” and “compile-theme” target) in the resources directory instead of the webapp directory? And by consequence to specify the directory of the theme somehow?
we have multiple projects.
Theme files of
normal projects (not war) are located in the
src/main/resources/VAADIN/themes/mytheme folder.
Theme compilation is executed in the
war project where the main theme files are located in the standard location
src/main/webapp/VAADIN/themes/mytheme .
The theme is comiled using the SassCompiler directly in a war project and maven dependencies on the classpath (e.g. eclipse run configuration).
The SassCompiler just needs input and output file parameters:
It took me quite a while to figure it out.
I suggested to vaadin that the vaadin eclipse plugin should be able to compile any scss files, independent of where they are located but they have tickets with higher priority.
Hope it helps.