not able to use Omega3.0 templates with my project.
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 79
- Joined: 25 Mar 2013, 13:00
I'm also having problems to use new Omega.
First, I have a question: Is 3.1.0 compatible with primefaces 8 and 10?
I tried to upgrade my theme just copying new files as older versions, but it showed a exception message in server "Error loading css, cannot find "theme.css" resource of "primefaces-omega-blue" library"
Then I proceeded as documentation: sass --update src/main/webapp/resources/sass/layout.scss src/main/webapp/resources/omega-layout/css/layout.css --no-source-map
Then it showed a error message in command line:
or if I use sourcemap=none other error appears:
another command I tried:
Can someone help me? Older versions were much easier
It could come compiled as before
First, I have a question: Is 3.1.0 compatible with primefaces 8 and 10?
I tried to upgrade my theme just copying new files as older versions, but it showed a exception message in server "Error loading css, cannot find "theme.css" resource of "primefaces-omega-blue" library"
Then I proceeded as documentation: sass --update src/main/webapp/resources/sass/layout.scss src/main/webapp/resources/omega-layout/css/layout.css --no-source-map
Then it showed a error message in command line:
Code: Select all
Ruby Sass 3.7.4
C:\Users\02099200173>sass --trace --update C:\Users\02099200173\Downloads\omega-3.1.0\tag\src\main\webapp\resources\sass\layout\_layout.scss C:\Users\02099200173\Downloads\omega-3.1.0\tag\src\main\webapp\resources\omega-layout\css\layout.css --no-source-map
Traceback (most recent call last):
4: from C:/Ruby27-x64/bin/sass:23:in `<main>'
3: from C:/Ruby27-x64/bin/sass:23:in `load'
2: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/sass-3.7.4/bin/sass:13:in `<top (required)>'
1: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/sass-3.7.4/lib/sass/exec/base.rb:18:in `parse!'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/sass-3.7.4/lib/sass/exec/base.rb:48:in `parse': invalid option: --no-source-map (OptionParser::InvalidOption)
Did you mean? sourcemap
Code: Select all
C:\Users\02099200173>sass --trace --update C:\Users\02099200173\Downloads\omega-3.1.0\tag\src\main\webapp\resources\sass\layout\_layout.scss C:\Users\02099200173\Downloads\omega-3.1.0\tag\src\main\webapp\resources\omega-layout\css\layout.css --sourcemap=none
Traceback (most recent call last):
6: from C:/Ruby27-x64/bin/sass:23:in `<main>'
5: from C:/Ruby27-x64/bin/sass:23:in `load'
4: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/sass-3.7.4/bin/sass:13:in `<top (required)>'
3: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/sass-3.7.4/lib/sass/exec/base.rb:18:in `parse!'
2: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/sass-3.7.4/lib/sass/exec/base.rb:50:in `parse'
1: from C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/sass-3.7.4/lib/sass/exec/sass_scss.rb:51:in `process_result'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/sass-3.7.4/lib/sass/exec/sass_scss.rb:285:in `watch_or_update': File C:\\Users\\02099200173\\Downloads\\omega-3.1.0\\tag\\src\\main\\webapp\\resources\\omega-layout\\css\\layout.css doesn't exist. (RuntimeError)
Did you mean: sass --update C:\\Users\\02099200173\\Downloads\\omega-3.1.0\\tag\\src\\main\\webapp\\resources\\sass\\layout\\_layout.scss:C:\\Users\\02099200173\\Downloads\\omega-3.1.0\\tag\\src\\main\\webapp\\resources\\omega-layout\\css\\layout.css
Code: Select all
C:\Users\02099200173>sass --update --trace C:\Users\02099200173\Downloads\omega-3.1.0\omega-layout-3.1.0\resources --sourcemap=none
error C:/Users/02099200173/Downloads/omega-3.1.0/omega-layout-3.1.0/resources/omega-layout/css/layout-blue.scss (Line 12: File to import not found or unreadable: ../../sass/layout/_layout.
Load path: C:/Users/02099200173/Downloads/omega-3.1.0/omega-layout-3.1.0/resources)
error C:/Users/02099200173/Downloads/omega-3.1.0/omega-layout-3.1.0/resources/omega-layout/css/layout-dark.scss (Line 12: File to import not found or unreadable: ../../sass/layout/_layout.
Load path: C:/Users/02099200173/Downloads/omega-3.1.0/omega-layout-3.1.0/resources)
error C:/Users/02099200173/Downloads/omega-3.1.0/omega-layout-3.1.0/resources/omega-layout/css/layout-light.scss (Line 12: File to import not found or unreadable: ../../sass/layout/_layout.
Load path: C:/Users/02099200173/Downloads/omega-3.1.0/omega-layout-3.1.0/resources)
It could come compiled as before
Hi,
Sorry for outdated first command in doc. Please compile scss files with
So you can use theme.css files.
Best Regards,
Sorry for outdated first command in doc. Please compile scss files with
Code: Select all
sass --watch src/main/webapp/resources:src/main/webapp/resources --no-source-map
Best Regards,
-
- Information
-
Who is online
Users browsing this forum: No registered users and 1 guest