I tried to compile OpenNMS 17.1.0-1 with Illumos (illumos-633aa80 from december 2015).
The compilation fails at compiling the sass templates. Unfortunately the message of the exception is "unknown".
Maybe some requirements are not fulfilled.
Java: Oracle jdk1.8.0_60
JRuby: 1.7.14
Ruby: 1.9.3.551
The output was produced with:
./compile.pl clean install -e -X -rf :onms-default-theme
[INFO] Compiling SASS Templates
[INFO] Queing SASS Template for compile: /export/builds/opennms/features/themes/onms-default-theme/src/main/java/VAADIN/themes/opennms => /export/builds/opennms/features/themes/onms-default-theme/src/main/java/VAADIN/themes/opennms
[INFO] Queing SASS Template for compile: /export/builds/opennms/features/themes/onms-default-theme/src/main/java/VAADIN/themes/opennms => /export/builds/opennms/features/themes/onms-default-theme/src/main/java/VAADIN/themes/opennms
[DEBUG] Execute SASS Ruby Script:
require 'rubygems'
env = { 'GEM_PATH' => [
'/export/builds/opennms/features/themes/onms-default-theme/target/rubygems'
] }
Gem.paths = env
require 'sass/plugin'
require 'java'
Sass::Plugin.options.merge!(
:css_location => '/export/builds/opennms/features/themes/onms-default-theme/src/main/java/VAADIN/themes/opennms',
:cache => true,
:always_update => true,
:template_location => '/export/builds/opennms/features/themes/onms-default-theme/src/main/java/VAADIN/themes/opennms',
:cache_location => '/export/builds/opennms/features/themes/onms-default-theme/target/sass_cache',
:unix_newlines => true,
:style => :expanded
)
Sass::Plugin.on_compilation_error {|error, template, css| $compiler_callback.compilationError(error.message, template, css) }
Sass::Plugin.on_updated_stylesheet {|template, css| $compiler_callback.updatedStylesheeet(template, css) }
Sass::Plugin.on_template_modified {|template| $compiler_callback.templateModified(template) }
Sass::Plugin.on_template_created {|template| $compiler_callback.templateCreated(template) }
Sass::Plugin.on_template_deleted {|template| $compiler_callback.templateDeleted(template) }
require 'pp'
pp Sass::Plugin.options
Sass::Plugin.update_stylesheets
{:css_location=>
"/export/builds/opennms/features/themes/onms-default-theme/src/main/java/VAADIN/themes/opennms",
:always_update=>true,
:always_check=>true,
:full_exception=>true,
:cache_location=>
"/export/builds/opennms/features/themes/onms-default-theme/target/sass_cache",
:cache=>true,
:template_location=>
"/export/builds/opennms/features/themes/onms-default-theme/src/main/java/VAADIN/themes/opennms",
:unix_newlines=>true,
:style=>:expanded}
[ERROR] Compilation of template /export/builds/opennms/features/themes/onms-default-theme/src/main/java/VAADIN/themes/opennms/styles.scss failed: unknown
[INFO] Queing SASS Template for compile: /export/builds/opennms/features/themes/onms-default-theme/src/main/java/VAADIN/themes/opennms => /export/builds/opennms/features/themes/onms-default-theme/src/main/java/VAADIN/themes/opennms
[INFO] Queing SASS Template for compile: /export/builds/opennms/features/themes/onms-default-theme/src/main/java/VAADIN/themes/opennms => /export/builds/opennms/features/themes/onms-default-theme/src/main/java/VAADIN/themes/opennms
[DEBUG] Execute SASS Ruby Script:
require 'rubygems'
env = { 'GEM_PATH' => [
'/export/builds/opennms/features/themes/onms-default-theme/target/rubygems'
] }
Gem.paths = env
require 'sass/plugin'
require 'java'
Sass::Plugin.options.merge!(
:css_location => '/export/builds/opennms/features/themes/onms-default-theme/src/main/java/VAADIN/themes/opennms',
:cache => true,
:always_update => true,
:template_location => '/export/builds/opennms/features/themes/onms-default-theme/src/main/java/VAADIN/themes/opennms',
:cache_location => '/export/builds/opennms/features/themes/onms-default-theme/target/sass_cache',
:unix_newlines => true,
:style => :expanded
)
Sass::Plugin.on_compilation_error {|error, template, css| $compiler_callback.compilationError(error.message, template, css) }
Sass::Plugin.on_updated_stylesheet {|template, css| $compiler_callback.updatedStylesheeet(template, css) }
Sass::Plugin.on_template_modified {|template| $compiler_callback.templateModified(template) }
Sass::Plugin.on_template_created {|template| $compiler_callback.templateCreated(template) }
Sass::Plugin.on_template_deleted {|template| $compiler_callback.templateDeleted(template) }
require 'pp'
pp Sass::Plugin.options
Sass::Plugin.update_stylesheets
{:css_location=>
"/export/builds/opennms/features/themes/onms-default-theme/src/main/java/VAADIN/themes/opennms",
:always_update=>true,
:always_check=>true,
:full_exception=>true,
:cache_location=>
"/export/builds/opennms/features/themes/onms-default-theme/target/sass_cache",
:cache=>true,
:template_location=>
"/export/builds/opennms/features/themes/onms-default-theme/src/main/java/VAADIN/themes/opennms",
:unix_newlines=>true,
:style=>:expanded}
[ERROR] Compilation of template /export/builds/opennms/features/themes/onms-default-theme/src/main/java/VAADIN/themes/opennms/styles.scss failed: unknown
Thanks
Andreas
------------------------------------------------------------------------------
_______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel