Questions tagged [wro4j]

Free and Open Source Java project which brings together almost all the modern web tools: JsHint, CssLint, JsMin, Google Closure compressor, YUI Compressor, UglifyJs, Dojo Shrinksafe, Css Variables Support, JSON Compression, Less, Sass, CoffeeScript and much more

Free and Open Source Java project which brings together almost all the modern web tools: JsHint, CssLint, JsMin, Google Closure compressor, YUI Compressor, UglifyJs, Dojo Shrinksafe, Css Variables Support, JSON Compression, Less, Sass, CoffeeScript and much more. In the same time, the aim is to keep it as simple as possible and as extensible as possible in order to be easily adapted to application specific needs.

Source: GitHub (wro4j)

87 questions
1
vote
0 answers

wro4j minimize and empty .js files

I use Wro4j maven plugin to concat CSS/JS files and minimize it, then I've got one problem. When I use it, I received extra .js files without content (just "?" symbol inside) for all CSS files. I use wro.properties like…
Andrew
  • 131
  • 1
  • 12
1
vote
0 answers

wro4j sass preprocessor throwing exception in spring integration

I am working on adding the sass support for the css, and added sassCss preprocessor to my configuration, Its not working as expected rather throwing exception ro.isdc.wro.extensions.processor.css.SassCssProcessor@18f6b97. Reason: Bad language…
Vijay Mohan
  • 1,056
  • 14
  • 34
1
vote
2 answers

Why is wro4j not finding my main.less file?

I am using wro4j-maven-plugin (version 1.8.0) for building my web resources: org.springframework.boot spring-boot-maven-plugin
Chrisposure
  • 167
  • 1
  • 14
1
vote
0 answers

how to customize the template content in wromapping.properties of WRO4J?

I use wro4j to minimize my front end resource files, such as *.js and *.css, to reduce page load time in my Spring application. wro4j will generate a file called 'wromapping.properties' to record the generated files' names. the first two lines in…
Sheldon Wei
  • 1,198
  • 16
  • 31
1
vote
0 answers

Minifying CSS files appends characters to the style classes

I have a SCSS file with a few styleclasses like: #defaultOverview_data.ui-datatable { min-height: 14px; padding-top: 6px; margin-left:21px; font-family:Arial; } I minify the SCSS file using…
Shruthi
  • 325
  • 7
  • 27
1
vote
0 answers

wro4j maven plugin append file content instead of replacing

I have problem with wro4j plugin for maven. When I'm deploying application and plugin is executed to minimize and bundle my resource files it append new content to all.css and all.js files instead of replacing theirs content. It is quite troublesome…
Glapa
  • 790
  • 10
  • 20
1
vote
0 answers

Can´t use AngularJS Charts when building with WRO4J

I´m trying to add AngularJS Charts to an Angular application I have (built with WRO4J). However, I can´t get it to work as I get these errors: Uncaught ReferenceError: Chart is not defined(anonymous function) @ angular-bootstrap.js:15(anonymous…
Victor
  • 2,450
  • 2
  • 23
  • 54
1
vote
1 answer

Wro4j: Accessing Spring @Service from custom post processor

I've successfully implemented a custom post processor filter with the help of the wro4j documentation. Its job is to generate and prepend SASS vars to a group of SASS files which are then handed off to the rubySassCss filter for transpiling, and…
1
vote
1 answer

Spring Boot WRo4j Need to restart app to see javascript changes

I'm using Spring boot and Wro4j. The problem we're having is every time we do a change on our of js files, we need to restart our application. is there anyway to avoid this? here's our wro.properties. #List of…
user962206
  • 15,637
  • 61
  • 177
  • 270
1
vote
1 answer

wro4j CSS Lint Adding Custom Rules

Our team wants to use the wro4j tool, and we have gotten it setup and able to run the csslint and jslint. We would like to create our own custom CSS rules, but we can't find any documentation on where the csslint rules are stored and how to create…
1
vote
0 answers

Wro4j imports not working after some refreshes

So I have a pretty big application with a lot of imports. Third party js libraries and a lot of angular code. Now I glued them all together with wro4j into two big files that are compressed. The order in which I did it is correct as the application…
Kaspar
  • 1,600
  • 4
  • 24
  • 46
1
vote
2 answers

How to update wro cache/model programmatically via JMX?

Could you please give an example, how I can invoke the WroConfiguration.reloadCache() method via JMX? I use Wildfly, singleton startup ejb, in case it does matter. JMX is switched on: jmxEnabled=true
Alexandr
  • 9,213
  • 12
  • 62
  • 102
1
vote
0 answers

m2e-wro4j not building after maven clean

I'm using the wro4j-maven-plugin v1.7.7 along with m2e-wro4j v1.1.0 eclipse plugin to build my customized bootstrap less theme for my webapp. I will commonly do a Run As->Maven clean, followed by a Run As->Maven install through Eclipse Luna when I…
McSwindler
  • 23
  • 1
  • 4
1
vote
1 answer

Using Twitter Bootstrap's theme.less with wro4j-maven-plugin

For some reason, I can't get theme.less (from Bootstrap 3.2.0) to build/compile with wro4j. I get a number of errors in the Maven plugin output, such as: [INFO] processing group: bootstrap-theme.css 2487 ERROR Less4jProcessor - Failed to…
Karl M. Davis
  • 606
  • 1
  • 7
  • 22
1
vote
0 answers

Retrieving XML model from external JAR using Wro4J Maven Plugin

I want to load resources from an external JAR file using Wro4J 1.7.6. I need to do so at compile time, so I added the Wro4J Maven plugin. If I extract the resources (js, css and the another-wro.xml) into my project folder in Eclipse, the files are…
Stefan
  • 12,108
  • 5
  • 47
  • 66