[jira] [Commented] (NETBEANS-581) Could not find an option named "cache-location".
[ https://issues.apache.org/jira/browse/NETBEANS-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17380644#comment-17380644 ] Christian Lenz commented on NETBEANS-581: - Hardcoded arguments doesn't make sense at all. It would prefer to let the user add such arguments by their own as you can do it for maven or JS on JVM. Also my plugin Minifierbeans has those input fields. We don't need to check the help section of the CLI to parse them. That would be a cool and helpful feature but step by step. Added screenshot from my plugin: !minifierbeans-options.png! > Could not find an option named "cache-location". > > > Key: NETBEANS-581 > URL: https://issues.apache.org/jira/browse/NETBEANS-581 > Project: NetBeans > Issue Type: Bug > Components: web - CSS Preprocessors (SASS, LESS, ...) >Affects Versions: 12.3 >Reporter: Bo Andersen >Priority: Major > Attachments: minifierbeans-options.png > > > When using the internal sass configuration, it calls the sass compiler with > the --cache-location command. It seems that this is not part of the current > sass compiler anymore. > > Sass error: > Could not find an option named "cache-location". > > I am using this release of sass compiler: > https://github.com/sass/dart-sass/releases/tag/1.1.1 -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-581) Could not find an option named "cache-location".
[ https://issues.apache.org/jira/browse/NETBEANS-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17372790#comment-17372790 ] Iván Barták commented on NETBEANS-581: -- I support a more generalized solution as well. I had problems because of the hardcoded console/terminal commands in NodeJs, GCC and in Java as well. I would go so far, that even the runnable name should not be hardcoded. https://issues.apache.org/jira/browse/NETBEANS-2145 A watcher like solution would be awesome: Filenames with specific [extension/path with wildcards/path with regexp] would trigger a list of user defined commands on save or on a button press. With presets of course for the usual things. * We could tackle the API changes without waiting for a new version. (Ruby sass is not maintained since 26 March 2019. Even libsass is deprecated now in favor of dart-sass) * We could have a chain of commands. Sass -> Autoprefixer -> Minifier. (like building a page with modular Bootstrap 5 [https://getbootstrap.com/docs/5.0/getting-started/build-tools/)] * This watchers could be imported to the new version, like other user settings. * JavaScript, Html minifiers could be a thing, without developer interaction. > Could not find an option named "cache-location". > > > Key: NETBEANS-581 > URL: https://issues.apache.org/jira/browse/NETBEANS-581 > Project: NetBeans > Issue Type: Bug > Components: web - CSS Preprocessors (SASS, LESS, ...) >Affects Versions: 12.3 >Reporter: Bo Andersen >Priority: Major > > When using the internal sass configuration, it calls the sass compiler with > the --cache-location command. It seems that this is not part of the current > sass compiler anymore. > > Sass error: > Could not find an option named "cache-location". > > I am using this release of sass compiler: > https://github.com/sass/dart-sass/releases/tag/1.1.1 -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-581) Could not find an option named "cache-location".
[ https://issues.apache.org/jira/browse/NETBEANS-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17372623#comment-17372623 ] Mark commented on NETBEANS-581: --- Having had this issue on Windows 10, Netbeans 12.4, I added *-J-Dnb.sass.libsass=true* to the netbeans.conf *netbeans_default_options* . Got sass from [https://github.com/sass/dart-sass/releases/tag/1.35.1.] As a relative plug and play user, this was major usage issue for me wasting 1/2 day. > Could not find an option named "cache-location". > > > Key: NETBEANS-581 > URL: https://issues.apache.org/jira/browse/NETBEANS-581 > Project: NetBeans > Issue Type: Bug > Components: web - CSS Preprocessors (SASS, LESS, ...) >Affects Versions: 12.3 >Reporter: Bo Andersen >Priority: Major > > When using the internal sass configuration, it calls the sass compiler with > the --cache-location command. It seems that this is not part of the current > sass compiler anymore. > > Sass error: > Could not find an option named "cache-location". > > I am using this release of sass compiler: > https://github.com/sass/dart-sass/releases/tag/1.1.1 -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-581) Could not find an option named "cache-location".
[ https://issues.apache.org/jira/browse/NETBEANS-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17355545#comment-17355545 ] Lobzek commented on NETBEANS-581: - Every time when I install new version of NetBeans I need to search internet for configuration workarounds again and again. That specific problem is one of them. Why not solve it once and for all the time? Maybe we should add libsass flag into Netbeans config by default? Who is using original ruby SASS nowadays? Or maybe add a checkbox in SASS config window that will enable libsass support? > Could not find an option named "cache-location". > > > Key: NETBEANS-581 > URL: https://issues.apache.org/jira/browse/NETBEANS-581 > Project: NetBeans > Issue Type: Bug > Components: web - CSS Preprocessors (SASS, LESS, ...) >Reporter: Bo Andersen >Priority: Minor > > When using the internal sass configuration, it calls the sass compiler with > the --cache-location command. It seems that this is not part of the current > sass compiler anymore. > > Sass error: > Could not find an option named "cache-location". > > I am using this release of sass compiler: > https://github.com/sass/dart-sass/releases/tag/1.1.1 -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-581) Could not find an option named "cache-location".
[ https://issues.apache.org/jira/browse/NETBEANS-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17268688#comment-17268688 ] Christian Lenz commented on NETBEANS-581: - I think it would be a good alternative to not hardcode such arguments as others also doesn't do that. Problem is always compatibilty, obsolated APIs/Arguments, etc. So I would prefer to rewrite the code and make the params optional as a field. You can see, how this could look like in my plugin minifierbeans: https://github.com/Chris2011/minifierbeans https://ibb.co/kDb2VcS. Make a textfield and if we have some default settings, add them to the field and the rest let the user decide. > Could not find an option named "cache-location". > > > Key: NETBEANS-581 > URL: https://issues.apache.org/jira/browse/NETBEANS-581 > Project: NetBeans > Issue Type: Bug > Components: web - CSS Preprocessors (SASS, LESS, ...) >Reporter: Bo Andersen >Priority: Minor > > When using the internal sass configuration, it calls the sass compiler with > the --cache-location command. It seems that this is not part of the current > sass compiler anymore. > > Sass error: > Could not find an option named "cache-location". > > I am using this release of sass compiler: > https://github.com/sass/dart-sass/releases/tag/1.1.1 -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-581) Could not find an option named "cache-location".
[ https://issues.apache.org/jira/browse/NETBEANS-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17074473#comment-17074473 ] Michael Bell commented on NETBEANS-581: --- Pete's solution worked for me as well. Thanks! > Could not find an option named "cache-location". > > > Key: NETBEANS-581 > URL: https://issues.apache.org/jira/browse/NETBEANS-581 > Project: NetBeans > Issue Type: Bug > Components: web - CSS Preprocessors (SASS, LESS, ...) >Reporter: Bo Andersen >Priority: Minor > > When using the internal sass configuration, it calls the sass compiler with > the --cache-location command. It seems that this is not part of the current > sass compiler anymore. > > Sass error: > Could not find an option named "cache-location". > > I am using this release of sass compiler: > https://github.com/sass/dart-sass/releases/tag/1.1.1 -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-581) Could not find an option named "cache-location".
[ https://issues.apache.org/jira/browse/NETBEANS-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16958788#comment-16958788 ] Martin Frost commented on NETBEANS-581: --- This was addressed in bug [247890 |[https://netbeans.org/bugzilla/show_bug.cgi?id=247890]] on the old system. You have to modify the startup options for Netbeans as described in that bug: Instructions: if libsass should be used, start NetBeans with parameter [1]; this parameter can also be added to the /etc/netbeans.conf (see netbeans_default_options variable). Then, the IDE will not add any command line parameter automatically - it means that it is up to user to specify proper CLI parameters (compress style, source maps etc.) for her CLI either in Tools > Options > HTML/JS > CSS Preprocessors or Project Properties dialog (CSS Preprocessors > Compiler Options field). Thanks! [1] -J-Dnb.sass.libsass=true > Could not find an option named "cache-location". > > > Key: NETBEANS-581 > URL: https://issues.apache.org/jira/browse/NETBEANS-581 > Project: NetBeans > Issue Type: Bug > Components: web - CSS Preprocessors (SASS, LESS, ...) >Reporter: Bo Andersen >Priority: Minor > > When using the internal sass configuration, it calls the sass compiler with > the --cache-location command. It seems that this is not part of the current > sass compiler anymore. > > Sass error: > Could not find an option named "cache-location". > > I am using this release of sass compiler: > https://github.com/sass/dart-sass/releases/tag/1.1.1 -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-581) Could not find an option named "cache-location".
[ https://issues.apache.org/jira/browse/NETBEANS-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16934237#comment-16934237 ] Rob Carr commented on NETBEANS-581: --- Thanks Pete. The workaround allowed the SASS to compile via Netbeans on file save :) > Could not find an option named "cache-location". > > > Key: NETBEANS-581 > URL: https://issues.apache.org/jira/browse/NETBEANS-581 > Project: NetBeans > Issue Type: Bug > Components: web - CSS Preprocessors (SASS, LESS, ...) >Reporter: Bo Andersen >Priority: Minor > > When using the internal sass configuration, it calls the sass compiler with > the --cache-location command. It seems that this is not part of the current > sass compiler anymore. > > Sass error: > Could not find an option named "cache-location". > > I am using this release of sass compiler: > https://github.com/sass/dart-sass/releases/tag/1.1.1 -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-581) Could not find an option named "cache-location".
[ https://issues.apache.org/jira/browse/NETBEANS-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933528#comment-16933528 ] Pete Whelpton commented on NETBEANS-581: Netbeans SASS support was written for the original Ruby SASS. Modern SASS implementations (Dart SASS et al) are based on libsass. There is very limited/incomplete support for libsass already in Netbeans (command line flags are NOT supported - but it should compile). To implement the workaround: 1) Open your netbeans.conf file (/etc/netbeans.conf in the NB installation folder) 2) Add the following to the netbeans_default_options parameter: -J-Dnb.sass.libsass=true 3) Launch Netbeans, Tools -> Options -> HTML5/JS -> CSS PreProcessors and configure it to point to your libsass implementation (e.g. the sass.bat file in your dart-sass installation folder) > Could not find an option named "cache-location". > > > Key: NETBEANS-581 > URL: https://issues.apache.org/jira/browse/NETBEANS-581 > Project: NetBeans > Issue Type: Bug > Components: web - CSS Preprocessors (SASS, LESS, ...) >Reporter: Bo Andersen >Priority: Minor > > When using the internal sass configuration, it calls the sass compiler with > the --cache-location command. It seems that this is not part of the current > sass compiler anymore. > > Sass error: > Could not find an option named "cache-location". > > I am using this release of sass compiler: > https://github.com/sass/dart-sass/releases/tag/1.1.1 -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-581) Could not find an option named "cache-location".
[ https://issues.apache.org/jira/browse/NETBEANS-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16928523#comment-16928523 ] Rob Carr commented on NETBEANS-581: --- Using Netbeans 11.1 using Dart SASS installed by homebrew... SASS compiling on command line works fine, but Netbeans flags up "/usr/local/Cellar/sass/1.22.12/bin/sass" "--cache-location" "~/Library/Caches/Netbeans/11.1/sass-compiler" "--debug-info" ".../scss/style.scss" ".../css/style.css" Could not find an option named "cache-location". Have tried installing a variety of SASS compilers (and changing the CSS pre-compiler settings in NB accordingly - obvs) and still get same result > Could not find an option named "cache-location". > > > Key: NETBEANS-581 > URL: https://issues.apache.org/jira/browse/NETBEANS-581 > Project: NetBeans > Issue Type: Bug > Components: web - CSS Preprocessors (SASS, LESS, ...) >Reporter: Bo Andersen >Priority: Minor > > When using the internal sass configuration, it calls the sass compiler with > the --cache-location command. It seems that this is not part of the current > sass compiler anymore. > > Sass error: > Could not find an option named "cache-location". > > I am using this release of sass compiler: > https://github.com/sass/dart-sass/releases/tag/1.1.1 -- This message was sent by Atlassian Jira (v8.3.2#803003) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-581) Could not find an option named "cache-location".
[ https://issues.apache.org/jira/browse/NETBEANS-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16474722#comment-16474722 ] Jarek commented on NETBEANS-581: After some research I've found that none of the sass comilers from [https://sass-lang.com/install] website doesn't work. I've tried dart, chocolatey and js version for Windows. Only ruby version works properly. > Could not find an option named "cache-location". > > > Key: NETBEANS-581 > URL: https://issues.apache.org/jira/browse/NETBEANS-581 > Project: NetBeans > Issue Type: Bug > Components: web - CSS Preprocessors (SASS, LESS, ...) >Reporter: Bo Andersen >Priority: Minor > > When using the internal sass configuration, it calls the sass compiler with > the --cache-location command. It seems that this is not part of the current > sass compiler anymore. > > Sass error: > Could not find an option named "cache-location". > > I am using this release of sass compiler: > https://github.com/sass/dart-sass/releases/tag/1.1.1 -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists