This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I'm using the Oracle JET Quick Start template [1] to create a new HTML5 project. I then turn on CSS Preprocessing for SASS and set the watch path to be: input: /scss/alta output /css/alta It creates the new alta directory under /css so I know it's finding the path. The log returned is: "C:\Ruby200-x64\bin\sass.bat" "--debug-info" "D:\NetBeansProjects\OracleJET projects\SASS Testing\public_html\scss\alta\oj-alta-1.0.scss" "D:\NetBeansProjects\OracleJET projects\SASS Testing\public_html\css\alta\oj-alta-1.0.css" C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/haml-1.5.2/lib/sass/constant.rb:33:in `<module:Constant>': empty range in char class: /^!([^\s["\\(", "\\)", "\\+", "\\-", "\\*", "\/", "%", "\"", "\\\\", "="]]+)\s*=\s*(.+)/ (RegexpError) from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/haml-1.5.2/lib/sass/constant.rb:5:in `<module:Sass>' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/haml-1.5.2/lib/sass/constant.rb:4:in `<top (required)>' from C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' from C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/haml-1.5.2/lib/sass/engine.rb:4:in `<top (required)>' from C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' from C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/haml-1.5.2/lib/haml/filters.rb:7:in `<top (required)>' from C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' from C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/haml-1.5.2/lib/haml/engine.rb:3:in `<top (required)>' from C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' from C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/haml-1.5.2/lib/haml.rb:643:in `<top (required)>' from C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' from C:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' from C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/haml-1.5.2/bin/sass:4:in `<top (required)>' from C:/Ruby200-x64/bin/sass:23:in `load' from C:/Ruby200-x64/bin/sass:23:in `<main>' Done. Is this something wrong with my sass binary setup, or something in the processing? Product Version = NetBeans IDE Dev (Build web-main-10677-on-20130531) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_17 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01
Created attachment 135182 [details] IDE log
(In reply to comment #0) Link to that Oracle Quick Start project template is: https://stbeehive.oracle.com/content/dav/st/Oracle%20JET/Public%20Documents/OracleJET_QuickStart.zip
I think it looks like some problem with your Ruby, in my case it "works" and fails due to not found imports (these imports are not found even when using command line). I have older Ruby 1.8.7 ("ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]") For example it complains about not found "oj.alta.forms" imported in alta/oj.alta.tags.scss where it is imported using file alta/oj.alta.tags.scss: @import "oj.alta.forms"; but oj.alta.forms is in different folder alta/ojtags/_oj.alta.forms.scss "/usr/local/bin/sass" "--debug-info" "/home/vriha/Downloads/OracleJET_QuickStart/scss/alta/oj-alta-1.0.scss" "/home/vriha/Downloads/OracleJET_QuickStart/css/alta/oj-alta-1.0.css" Syntax error: Undefined mixin 'linear-gradient'. on line 42 of /home/vriha/Downloads/OracleJET_QuickStart/scss/alta/_jquery.ui.alta.accordion.scss, in `linear-gradient' from line 42 of /home/vriha/Downloads/OracleJET_QuickStart/scss/alta/_jquery.ui.alta.accordion.scss from line 4 of /home/vriha/Downloads/OracleJET_QuickStart/scss/alta/_oj.alta.widgets.scss from line 22 of /home/vriha/Downloads/OracleJET_QuickStart/scss/alta/oj-alta-1.0.scss Use --trace for backtrace. Done. "/usr/local/bin/sass" "--debug-info" "/home/vriha/Downloads/OracleJET_QuickStart/scss/alta/oj-alta-embed-1.0.scss" "/home/vriha/Downloads/OracleJET_QuickStart/css/alta/oj-alta-embed-1.0.css" Syntax error: Undefined mixin 'linear-gradient'. on line 42 of /home/vriha/Downloads/OracleJET_QuickStart/scss/alta/_jquery.ui.alta.accordion.scss, in `linear-gradient' from line 42 of /home/vriha/Downloads/OracleJET_QuickStart/scss/alta/_jquery.ui.alta.accordion.scss from line 4 of /home/vriha/Downloads/OracleJET_QuickStart/scss/alta/_oj.alta.widgets.scss from line 21 of /home/vriha/Downloads/OracleJET_QuickStart/scss/alta/oj-alta-embed-1.0.scss Use --trace for backtrace. Done. "/usr/local/bin/sass" "--debug-info" "/home/vriha/Downloads/OracleJET_QuickStart (2)/scss/alta/oj-alta-embed-1.0.scss" "/home/vriha/Downloads/OracleJET_QuickStart (2)/css/alta/oj-alta-embed-1.0.css" Syntax error: File to import not found or unreadable: oj.alta.forms. Load path: /tmp on line 2 of /home/vriha/Downloads/OracleJET_QuickStart (2)/scss/alta/_oj.alta.tags.scss from line 12 of /home/vriha/Downloads/OracleJET_QuickStart (2)/scss/alta/oj-alta-embed-1.0.scss Use --trace for backtrace. Done. "/usr/local/bin/sass" "--debug-info" "/home/vriha/Downloads/OracleJET_QuickStart (2)/scss/alta/oj-alta-1.0.scss" "/home/vriha/Downloads/OracleJET_QuickStart (2)/css/alta/oj-alta-1.0.css" Syntax error: File to import not found or unreadable: oj.alta.forms. Load path: /tmp on line 2 of /home/vriha/Downloads/OracleJET_QuickStart (2)/scss/alta/_oj.alta.tags.scss from line 12 of /home/vriha/Downloads/OracleJET_QuickStart (2)/scss/alta/oj-alta-1.0.scss Use --trace for backtrace. Done. Product Version: NetBeans IDE Dev (Build web-main-10685-on-20130601) Java: 1.7.0_25; Java HotSpot(TM) Client VM 23.25-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b13 System: Linux version 3.2.0-44-generic-pae running on i386; UTF-8; en_US (nb)
I installed Sass as described [1] and it again ends with not found import. [1] http://www.impressivewebs.com/sass-on-windows/ Product Version: NetBeans IDE Dev (Build 201306022301) Java: 1.7.0_15; Java HotSpot(TM) Client VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_15-b03 System: Windows 8 version 6.2 running on x86; Cp1252; en_US (nb)
It seems that this really has nothing to do with NetBeans - NetBeans apparently invokes correct command (or not?); unfortunately, this command ends with an error. How do you compile your Sass files without NetBeans? I guess you use some script, right? Can you investigate its content? Feel free to reopen if there is something we can improve in NetBeans. Thanks.