Good Afternoon,
Today I had a really strange and unusual problem while compiling my theme
I’m working with vaadin 7.1.0 and after a theme compilation with “Compile Theme” button, the eclipse “Compiling Theme” background task hung and nevere returned, without complaining about anything (no messages at all).
Using Process Explorer, I noticed that the process was still there so i copied the command line trying to dig the situation.
After launching the command line from the Windows’ standard CMD:
- The process didn’t hang
- The output complained about a simple “wrong sintax” error
The error was the following:
com.vaadin.sass.internal.parser.SCSSParseException: Error when parsing file xxxxx\mixins.scss
Encountered “,” at line 194, column 61.
Following is the line 194:
@mixin custom-button($width: 100%, $height: 35px, $text-color:
,
$color){
…
}
The error was the colon after the $text-color variable
. After removing it the compiling process ended just fine.
Does it sound like a little bug?
Is the standard error redirected to the eclipse console?
Moreover, wired is also the fact that inside eclipse, the same command line I run fine from the CMD, didn’t return.
Any thoughts?
Regards
Guglielmo Moretti