Builder won't build [message #1817169] |
Sun, 17 November 2019 14:01  |
Eclipse User |
|
|
|
I'm not a newcomer to Eclipse, I just can't figure out what other forum to put this.
I've been using SASS occasionally this past year to create CSS in SCSS format and then build it automatically into CSS format whenever I save changes to the SCSS file. I do that via a builder that I add to each project that uses CSS. (In other words, if a project is going to involve CSS, I create folders entitled css and scss, then right-click on the project, choose Properties, then Builders, and create a new Builder called SASS to compile the SCSS into CSS whenever the scss file is saved.)
That has worked very well all year. But now, the auto-building isn't happening: I save the edits to the scss file and nothing happens. The builder is set to build "after a clean" and "during auto-builds". There's no error message or any sign of trouble: the builder just fails to build. I can make it build again by restarting Eclipse but it doesn't build more than once or twice before failing to build on the next save.
I have no idea how to sort this out. Can anyone advise me on this?
|
|
|
|
|
|
|
Re: Builder won't build [message #1817957 is a reply to message #1817227] |
Tue, 03 December 2019 10:19   |
Eclipse User |
|
|
|
Reinhardt Christiansen wrote on Mon, 18 November 2019 16:40Thank you, both!
It turns out that the "Build Automatically" option was NOT checked. (I'm not sure how that happened; I don't think I've touched that setting in *years*. I couldn't even FIND that setting first because it had been so long since I'd been there!)
Now that the option is checked, my builder translates .scss to .css every time I save an edit to the .scss file.
Thanks again!
By the way, is there any way to copy my SASS builder rapidessay from one project to another? Several of my projects use scss/css files and there are enough settings and parameters to write that it's a bit tedious to hand-type them in each project so that they match the previous project (aside from minor changes in the path). If I could either share a SASS builder across all projects (with possible local overrides to paths) or easily clone a builder from one project to another, that would be quite convenient. (Otherwise, I suppose I'll just do some screen prints of the relevant panels, put them in a document somewhere, and then imitate them each time I add a SASS builder to the project.)
Absolutelly agree, I just had the same issues and thanks to this thread I was able to fix it.
[Updated on: Tue, 03 December 2019 10:41] by Moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.11772 seconds