{"action":"created","issue":{"url":"https://api.github.com/repos/GeoDienstenCentrum/sass-maven-plugin/issues/24","labels_url":"https://api.github.com/repos/GeoDienstenCentrum/sass-maven-plugin/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/GeoDienstenCentrum/sass-maven-plugin/issues/24/comments","events_url":"https://api.github.com/repos/GeoDienstenCentrum/sass-maven-plugin/issues/24/events","html_url":"https://github.com/GeoDienstenCentrum/sass-maven-plugin/issues/24","id":57193721,"number":24,"title":"JRuby exception \"Errno::ESRCH\" on updating stylesheets (sass-maven-plugin v2.1)","user":{"login":"StefanLiebenberg","id":58818,"avatar_url":"https://avatars.githubusercontent.com/u/58818?v=3","gravatar_id":"","url":"https://api.github.com/users/StefanLiebenberg","html_url":"https://github.com/StefanLiebenberg","followers_url":"https://api.github.com/users/StefanLiebenberg/followers","following_url":"https://api.github.com/users/StefanLiebenberg/following{/other_user}","gists_url":"https://api.github.com/users/StefanLiebenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/StefanLiebenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StefanLiebenberg/subscriptions","organizations_url":"https://api.github.com/users/StefanLiebenberg/orgs","repos_url":"https://api.github.com/users/StefanLiebenberg/repos","events_url":"https://api.github.com/users/StefanLiebenberg/events{/privacy}","received_events_url":"https://api.github.com/users/StefanLiebenberg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GeoDienstenCentrum/sass-maven-plugin/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/GeoDienstenCentrum/sass-maven-plugin/labels/JRuby","name":"JRuby","color":"e11d21"},{"url":"https://api.github.com/repos/GeoDienstenCentrum/sass-maven-plugin/labels/windows","name":"windows","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"mprins","id":1165786,"avatar_url":"https://avatars.githubusercontent.com/u/1165786?v=3","gravatar_id":"","url":"https://api.github.com/users/mprins","html_url":"https://github.com/mprins","followers_url":"https://api.github.com/users/mprins/followers","following_url":"https://api.github.com/users/mprins/following{/other_user}","gists_url":"https://api.github.com/users/mprins/gists{/gist_id}","starred_url":"https://api.github.com/users/mprins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mprins/subscriptions","organizations_url":"https://api.github.com/users/mprins/orgs","repos_url":"https://api.github.com/users/mprins/repos","events_url":"https://api.github.com/users/mprins/events{/privacy}","received_events_url":"https://api.github.com/users/mprins/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/GeoDienstenCentrum/sass-maven-plugin/milestones/14","html_url":"https://github.com/GeoDienstenCentrum/sass-maven-plugin/milestones/2.9-SNAPSHOT","labels_url":"https://api.github.com/repos/GeoDienstenCentrum/sass-maven-plugin/milestones/14/labels","id":1198323,"number":14,"title":"2.9-SNAPSHOT","description":"","creator":{"login":"mprins","id":1165786,"avatar_url":"https://avatars.githubusercontent.com/u/1165786?v=3","gravatar_id":"","url":"https://api.github.com/users/mprins","html_url":"https://github.com/mprins","followers_url":"https://api.github.com/users/mprins/followers","following_url":"https://api.github.com/users/mprins/following{/other_user}","gists_url":"https://api.github.com/users/mprins/gists{/gist_id}","starred_url":"https://api.github.com/users/mprins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mprins/subscriptions","organizations_url":"https://api.github.com/users/mprins/orgs","repos_url":"https://api.github.com/users/mprins/repos","events_url":"https://api.github.com/users/mprins/events{/privacy}","received_events_url":"https://api.github.com/users/mprins/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":4,"state":"open","created_at":"2015-07-08T08:08:39Z","updated_at":"2015-07-11T20:17:34Z","due_on":"2015-07-14T22:00:00Z","closed_at":null},"comments":5,"created_at":"2015-02-10T15:58:18Z","updated_at":"2015-07-11T21:02:39Z","closed_at":null,"body":"Using this plugin with the configuration:\r\n\r\n     <plugin>\r\n                <groupId>nl.geodienstencentrum.maven</groupId>\r\n                <artifactId>sass-maven-plugin</artifactId>\r\n                <version>2.1</version>\r\n                <executions>\r\n                    <execution>\r\n                        <goals>\r\n                            <goal>update-stylesheets</goal>\r\n                        </goals>\r\n                        <phase>generate-resources</phase>\r\n                    </execution>\r\n                </executions>\r\n                <configuration>\r\n                    <sassSourceDirectory>src/main/stylesheets</sassSourceDirectory>\r\n                    <destination>${project.build.directory}/css/</destination>\r\n                    <useCompass>true</useCompass>\r\n                    <sassOptions>\r\n                        <style>:compressed</style>\r\n                    </sassOptions>\r\n                </configuration>\r\n            </plugin>\r\n\r\nProduces the exception on windows:\r\n\r\n    Sass::Plugin.update_stylesheets\r\n            at nl.geodienstencentrum.maven.plugin.sass.AbstractSassMojo.executeSassScript(AbstractSassMojo.java:237)\r\n                at nl.geodienstencentrum.maven.plugin.sass.compiler.UpdateStylesheetsMojo.execute(UpdateStylesheetsMojo.java:52)\r\n                at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)\r\n                at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)\r\n                ... 19 more\r\n        Caused by: javax.script.ScriptException: org.jruby.embed.EvalFailedException: (Errno::ESRCH) C:/workspace/repository/target/css/style.css\r\n                at org.jruby.embed.jsr223.JRubyEngine.wrapException(JRubyEngine.java:104)\r\n                at org.jruby.embed.jsr223.JRubyEngine.eval(JRubyEngine.java:93)\r\n                at org.jruby.embed.jsr223.JRubyEngine.eval(JRubyEngine.java:142)\r\n                at nl.geodienstencentrum.maven.plugin.sass.AbstractSassMojo.executeSassScript(AbstractSassMojo.java:231)\r\n                ... 22 more\r\n        Caused by: org.jruby.embed.EvalFailedException: (Errno::ESRCH) C:/workspace/repository/target/css/style.css\r\n                at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:133)\r\n                at org.jruby.embed.jsr223.JRubyEngine.eval(JRubyEngine.java:90)\r\n                ... 24 more\r\n        Caused by: org.jruby.exceptions.RaiseException: (Errno::ESRCH) C:/workspace/repository/target/css/style.css\r\n                at org.jruby.RubyFile.mtime(org/jruby/RubyFile.java:941)\r\n                at RUBY.stylesheet_needs_update?(C:/Users/user/.m2/repository/nl/geodienstencentrum/maven/sass-maven-plugin/2.1/sass-maven-plugin-2.1.jar!/gems/sass-3.4.10/lib/sass/plugin/staleness_checker.rb:65)\r\n                at RUBY.update_stylesheets(C:/Users/user/.m2/repository/nl/geodienstencentrum/maven/sass-maven-plugin/2.1/sass-maven-plugin-2.1.jar!/gems/sass-3.4.10/lib/sass/plugin/compiler.rb:211)\r\n                at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613)\r\n                at RUBY.update_stylesheets(C:/Users/user/.m2/repository/nl/geodienstencentrum/maven/sass-maven-plugin/2.1/sass-maven-plugin-2.1.jar!/gems/sass-3.4.10/lib/sass/plugin/compiler.rb:209)\r\n                at RUBY.update_stylesheets(C:/Users/user/.m2/repository/nl/geodienstencentrum/maven/sass-maven-plugin/2.1/sass-maven-plugin-2.1.jar!/gems/sass-3.4.10/lib/sass/plugin.rb:82)\r\n                at RUBY.(root)(<script>:30)\r\n\r\nSwitching to 2.0 solved the issue."},"comment":{"url":"https://api.github.com/repos/GeoDienstenCentrum/sass-maven-plugin/issues/comments/120661496","html_url":"https://github.com/GeoDienstenCentrum/sass-maven-plugin/issues/24#issuecomment-120661496","issue_url":"https://api.github.com/repos/GeoDienstenCentrum/sass-maven-plugin/issues/24","id":120661496,"user":{"login":"mprins","id":1165786,"avatar_url":"https://avatars.githubusercontent.com/u/1165786?v=3","gravatar_id":"","url":"https://api.github.com/users/mprins","html_url":"https://github.com/mprins","followers_url":"https://api.github.com/users/mprins/followers","following_url":"https://api.github.com/users/mprins/following{/other_user}","gists_url":"https://api.github.com/users/mprins/gists{/gist_id}","starred_url":"https://api.github.com/users/mprins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mprins/subscriptions","organizations_url":"https://api.github.com/users/mprins/orgs","repos_url":"https://api.github.com/users/mprins/repos","events_url":"https://api.github.com/users/mprins/events{/privacy}","received_events_url":"https://api.github.com/users/mprins/received_events","type":"User","site_admin":false},"created_at":"2015-07-11T21:02:39Z","updated_at":"2015-07-11T21:02:39Z","body":"@StefanLiebenberg I'm curious if this is still an issue with version 2.9-RC1 that I just created/released which has the new JRuby engine (9000) and a current version of Sass"}}