I am developing a vaadin application that used vaadin v7.2. Now it is updated to version v7.3.7 and uses the new valo theme with my custom styles. When compiling the whole project using the mvn clean installtheme compiles fine. But when I try to compile a theme using the command line using the command
java -cp '../../../../../../target/product-webapp-1.1.3.0-SNAPSHOT/WEB-INF/lib/*' com.vaadin.sass.SassCompiler styles.scss styles.css
he pushes the shaft, not found error, as shown below
java.io.FileNotFoundException: Import '../valo/valo.scss' in '/home/lahirub/Documents/PROJECTS/NewClearProduct/newclear-product-webapp/src/main/webapp/VAADIN/themes/mytheme/styles.scss' could not be found
com.vaadin.sass.internal.parser.ParseException: Mixin Definition: valo not found
My custom theme is like this
mytheme.scss
@import "../valo/valo.scss";
@mixin mytheme {
@include valo;
}
styles.scss
@import "mytheme.scss";
@import "addons.scss";
.mytheme {
@include addons;
@include mytheme;
}
addons.scss
@mixin addons {
}
I can not find the cause of this error. Can someone please give me some suggestion.
source
share