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
5
votes
3 answers

Wro4j, webjars and font-awesome

I need help with wro4j configuration to use font-awesome from webjars. I have the next configuration file:
fjtorres
  • 266
  • 6
  • 13
5
votes
0 answers

Error while creating ro.isdc.wro.extensions.manager.ExtensionsConfigurableWroManagerFactory

Currently I am working in a web app proyect that involves Java, javascript, css (compass). I am trying to configure a runtime solution that merges all *.js and *.scss into a single file. I am following the guidelines explained in the Wro4j site but…
5
votes
1 answer

wro4j & m2e Eclipse not compiling LESS

I am trying to setup my developer env so that I can use maven to compile my LESS files for formal builds, but also have Eclipse compile the LESS for incremental builds so I dont have to keep kicking of maven tasks every time I make a LESS change. …
rhinds
  • 9,976
  • 13
  • 68
  • 111
5
votes
2 answers

wro4j -- How do you disable aggregation feature in debug mode?

I'm using wildcards to load my javascript and css files and it works great, but it's a pain to work with the aggregated javascript files during the development phase. Is there a way to have wro4j not aggregate the files, but just include them…
John Gordon
  • 2,181
  • 5
  • 28
  • 47
4
votes
1 answer

Problem when packaging maven project containing wro4j maven plugin

I am trying to package maven project, but following error occurs: "C:\Program Files\Java\jdk-18.0.1.1\bin\java.exe" "-Dmaven.multiModuleProjectDirectory=C:\Users\User\Desktop\Main\Self Education\Java\Projects\sfg-pet-clinic"…
GGGarikkk
  • 43
  • 4
4
votes
2 answers

How to have WRO answer with a http 304 not modified?

We are serving javascript resources (and others) via wro in our webapp. On the PROD environment, the browser gets (for example) the app.js angular webapp's content with an 'expires' headers one year in the future. Meaning that for subsequent…
Gaël Oberson
  • 603
  • 1
  • 5
  • 14
4
votes
1 answer

Is there a way to configure wro4j to pick up changed files without restart during development?

I am using Embedded Jetty, had the maxCachedFiles = 0 and useFileMappedBuffer=false, so on a Windows machine it picks up template file changes and js/css changes. Now that we started using wro4j, we are loosing this handy hot-deployment feature.…
Balint Pato
  • 1,497
  • 1
  • 13
  • 28
4
votes
2 answers

ECMASCRIPT 5 with wro4j and Google Closure Compiler

We are using wro4j with Google Closure and Maven to minify our JS. By default it does not suport strict mode in the JS ("use strict";).. it just strips it out. Is there any configuration I can do in pom.xml or somewhere else to get it to leave use…
bshack
  • 1,891
  • 1
  • 21
  • 27
3
votes
1 answer

Wro4j vs grunt gulp and others

Here's the deal : we have a big product with legacy, and custom code to handle minification, packing, compilation (for less files) for all our front end assets. We think about using wro4j, but I've come across multiple articles advising to use grunt…
Kévin_Bransard
  • 676
  • 2
  • 11
  • 23
3
votes
1 answer

Why does Thymeleaf code not work in the head section of HTML but works fine in the body

I am using wro4j to minify static content. However, when I am in my development environment I would like to use the uncompressed versions of my JS and CSS files. To put it into context, I am using Spring Boot and Thymeleaf. This code does not work…
Hamster
  • 680
  • 7
  • 23
3
votes
0 answers

import css.map files with wro4j

I am using wro4j with my spring-mvc application for web resource optimaization. My page is using twitter bootstrap 3. After implementing wro4j everything is working fine. but some ui on the page for bootstrap is borken. I feel somehow it is because…
Priyank Thakkar
  • 4,752
  • 19
  • 57
  • 93
3
votes
2 answers

I m trying to gzip js & css files at build time using wro4j Maven

I m trying to gzip js & css files at build time using wro4j Maven (invoked via m2e-wtp - using Eclipse Luna), but it is not working. I've tried with 1.7.5, 1.7.7 versions. Below is config I've: wro.xml: ro.isdc.wro4j
manikanta
  • 8,100
  • 5
  • 59
  • 66
3
votes
1 answer

wro4j - build all groups using runtime solution

I'm using wro4j with a maven + spring-mvc based web application. I have two different wro.properties file to configure the web app differently when in development mode vs deployment mode. wro4j is configured to run using the runtime solution. The…
ashutosh
  • 649
  • 1
  • 8
  • 21
3
votes
0 answers

How to set up wro4j for sbt with the latest versions of sbt and plugins on windows?

I have downloaded this example and made some changes to resolve errors. Particularly, I have changed sbt.version to 0.13.5 in the build.properties file, and changed both scalatra-sbt and xsbt-wro4j-pluginversions to 0.3.5 in the…
Odomontois
  • 15,918
  • 2
  • 36
  • 71
3
votes
1 answer

wro4j less-compiler compiles .css files, too

I am using wro4j 1.7.3 with less4j/lessCSS-compiler. preProcessors=less4j, yuiCssMin,googleClosureSimple In my wro.xml, I have something like: /resources/css/base.css When compiling, I will get a error…
nimo23
  • 5,170
  • 10
  • 46
  • 75
1
2 3 4 5 6