[jira] [Comment Edited] (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&focusedCommentId=17380644#comment-17380644 ] Christian Lenz edited comment on NETBEANS-581 at 7/14/21, 2:26 PM: --- 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! So long story short there is a need for not hardcoded stuff anymore, due to fast changes and we should try to add such inputfield with common flags and the use can change it if needed. was (Author: chrizzly): 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] [Comment Edited] (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&focusedCommentId=17268688#comment-17268688 ] Christian Lenz edited comment on NETBEANS-581 at 1/20/21, 4:44 PM: --- 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. was (Author: chrizzly): 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] [Comment Edited] (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&focusedCommentId=17268688#comment-17268688 ] Christian Lenz edited comment on NETBEANS-581 at 1/20/21, 4:44 PM: --- 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): IMAGE 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. was (Author: chrizzly): 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] [Comment Edited] (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&focusedCommentId=16928523#comment-16928523 ] Rob Carr edited comment on NETBEANS-581 at 9/12/19 1:28 PM: 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 was (Author: rgcarr): 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