I'm running into problems compiling a very simple project using the current head/snapshot. Can anyone shed some light on this?
Compiling the same project with 1.0.2 works fine. It seems that 1.0.2 is using relative pathnames and 1.0.3 is using absolute pathnames.... (traces below) It looks like these changes were introduced with @joepjoosten 's pull #18 and/or #19
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building maven-compass-example webapp 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- sass-maven-plugin:1.0.3-SNAPSHOT:update-stylesheets (default) @ maven-compass-example ---
[INFO] Queing SASS Template for compile: C:\workspace\maven-compass-example/src/main/scss => C:\workspace\maven-compass-example\target\compass-example\css
[INFO] Compiling SASS Templates
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.218s
[INFO] Finished at: Fri Feb 22 09:40:53 CET 2013
[INFO] Final Memory: 12M/30M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jasig.maven:sass-maven-plugin:1.0.3-SNAPSHOT:update-stylesheets (default) on project maven-compass-example: Failed to execute SASS ruby script:
[ERROR] require 'rubygems'
[ERROR] require 'sass/plugin'
[ERROR] require 'java'
[ERROR] Sass::Plugin.options.merge!(
[ERROR] :always_update => true,
[ERROR] :cache_location => 'C:/workspace/maven-compass-example/target/sass_cache',
[ERROR] :debug_info => true,
[ERROR] :style => :expanded
[ERROR] )
[ERROR] java_import org.jasig.maven.plugin.sass.CompilationErrors
[ERROR] $compilation_errors = CompilationErrors.new
[ERROR] Sass::Plugin.on_compilation_error {|error, template, css| $compilation_errors.add(template, error.message) }
[ERROR] Sass::Plugin.add_template_location('C:\workspace\maven-compass-example/src/main/scss', 'C:\workspace\maven-compass-example\target\compass-example\css')
[ERROR] Sass::Plugin.update_stylesheets: org.jruby.exceptions.RaiseException: (SystemCallError) Unknown error - Unknown Error (20047) - C:\workspace\maven-compass-example\target\compass-example\css\C:
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.jasig.maven:sass-maven-plugin:1.0.3-SNAPSHOT:update-stylesheets (default) on project maven-compass-example: Failed to execute SASS ruby script:
require 'rubygems'
require 'sass/plugin'
require 'java'
Sass::Plugin.options.merge!(
:always_update => true,
:cache_location => 'C:/workspace/maven-compass-example/target/sass_cache',
:debug_info => true,
:style => :expanded
)
java_import org.jasig.maven.plugin.sass.CompilationErrors
$compilation_errors = CompilationErrors.new
Sass::Plugin.on_compilation_error {|error, template, css| $compilation_errors.add(template, error.message) }
Sass::Plugin.add_template_location('C:\workspace\maven-compass-example/src/main/scss', 'C:\workspace\maven-compass-example\target\compass-example\css')
Sass::Plugin.update_stylesheets
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to execute SASS ruby script:
require 'rubygems'
require 'sass/plugin'
require 'java'
Sass::Plugin.options.merge!(
:always_update => true,
:cache_location => 'C:/workspace/maven-compass-example/target/sass_cache',
:debug_info => true,
:style => :expanded
)
java_import org.jasig.maven.plugin.sass.CompilationErrors
$compilation_errors = CompilationErrors.new
Sass::Plugin.on_compilation_error {|error, template, css| $compilation_errors.add(template, error.message) }
Sass::Plugin.add_template_location('C:\workspace\maven-compass-example/src/main/scss', 'C:\workspace\maven-compass-example\target\compass-example\css')
Sass::Plugin.update_stylesheets
at org.jasig.maven.plugin.sass.UpdateStylesheetsMojo.execute(UpdateStylesheetsMojo.java:61)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
Caused by: javax.script.ScriptException: org.jruby.exceptions.RaiseException: (SystemCallError) Unknown error - Unknown Error (20047) - C:\workspace\maven-compass-example\target\compass-example\css\C:
at org.jruby.embed.jsr223.JRubyEngine.wrapException(JRubyEngine.java:115)
at org.jruby.embed.jsr223.JRubyEngine.eval(JRubyEngine.java:93)
at org.jruby.embed.jsr223.JRubyEngine.eval(JRubyEngine.java:153)
at org.jasig.maven.plugin.sass.UpdateStylesheetsMojo.execute(UpdateStylesheetsMojo.java:49)
... 21 more
Caused by: org.jruby.exceptions.RaiseException: (SystemCallError) Unknown error - Unknown Error (20047) - C:\workspace\maven-compass-example\target\compass-example\css\C:
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building maven-compass-example webapp 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- sass-maven-plugin:1.0.2:update-stylesheets (default) @ maven-compass-example ---
[INFO] Queing SASS Template for compile: src/main/scss => target/compass-example/css
[INFO] Compiling SASS Templates
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ maven-compass-example ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ maven-compass-example ---
[INFO] Nothing to compile - all classes are up to date
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.250s
[INFO] Finished at: Fri Feb 22 09:46:40 CET 2013
[INFO] Final Memory: 13M/32M
[INFO] ------------------------------------------------------------------------