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
1 answer

What is the equivanelt of "sass --watch" using wro4j?

Wro4j (Web Resource Optimizer for Java) make it easier for Java web developers to use things like SCSS / LESS / CoffeeScript / UglifyJS in their projects, without using the gems / npms directly. I couldn't find though how do I use it for the simple…
Eran Medan
  • 44,555
  • 61
  • 184
  • 276
0
votes
1 answer

SAP Hybris/Commerce Cloud + WRO4J - Failed to generate all_responsive.js bundle

I'm getting error when try to enable wro4j on a SAP Hybris Project. All the bundles are genarated pretty, but the all_responsive.js bundle show the error below. ERROR [hybrisHTTP5] [ExceptionHandlingProcessorDecorator] Failed to process the…
0
votes
1 answer

MVN issue with an old Java codebase -- clashing dependencies

I have an old Java codebase (1.7). I'm trying to get it to run on a newer version of the JVM, and in general I got it to compile. What I can solve is the part in the build process that uses wro4j. Maven gives me this error: Plugin…
0
votes
0 answers

Java version error after upgrading a dependency

I'm trying to upgrade my wro4j dependency from 1.7.x to the latest (1.10.1). My project uses Java 8. I didn't see anywhere (documentation or otherwise) that wro4j requires a specific java version to run, however, when I change the version in my…
spongegirl
  • 11
  • 2
0
votes
1 answer

Spring Boot AngularJs Application: Shows reference error for Angular

I am following below tutorial Spring and Angular JS: A Secure Single Page Application The pom.xml is below - org.test single 0.0.1-SNAPSHOT jar
Atul
  • 1,560
  • 5
  • 30
  • 75
0
votes
0 answers

"TypeError: module is undefined" when combining all of my modules into a minified js file

I have several .js files where each one holds exactly one module and each module has the following pattern (this is a simplified example): "use strict"; /*jshint esversion: 6 */ /*jshint node: true */ /*jshint unused:false*/ /*globals…
DPM
  • 1,960
  • 3
  • 26
  • 49
0
votes
0 answers

How to resolve ro.isdc.wro.WroRuntimeException: Cannot build valid CacheKey from request: /WEB-INF/tiles/layout/basic.jsp error?

I have used spring boot + apache tile framework(org.apache.tiles) for UI. I am trying to add wro4j in my app. but not getting success. I am referring this link for the same. it gives the following error StackTrace while am trying to access the page…
Vishal Gajera
  • 4,137
  • 5
  • 28
  • 55
0
votes
0 answers

Wro4j's RubySassCss plugin doesn't recognize sass variables

I am using RubySassCss to compile my sass files that looks like this: styles.scss : body{ &.template1{ $background-color: #fff; @import "_template.scss"; } &.template2{ $background-color: #000; @import "_template.scss"; …
EssaidiM
  • 7,924
  • 1
  • 18
  • 22
0
votes
0 answers

AngularJs Error while running a Spring Boot application

I am trying this tutorial from spring.io (https://spring.io/guides/tutorials/spring-security-and-angular-js/) and I am getting this error. Error: [$injector:modulerr]…
0
votes
1 answer

Wro4j plugin versus wro4j filter

I am using spring boot and have to profile my application to dev profile and release profile. At the same time want to use wro4j. In dev profile, i have to use wro4j plugin or using filter ? The same for release mode , what i have to put ?
jam
  • 485
  • 2
  • 5
  • 14
0
votes
1 answer

Problems minifying Angular2 with Wro4j

I have a little web app using Spring Boot and Angular 1, Maven and Wro4j, and I want to give a try to Angular 2, which I am completely new in. I use Maven/Wro4j 1.8.0 to minify at compile time and get a single js file for angular dependencies, which…
Steph
  • 1,989
  • 14
  • 18
0
votes
1 answer

Load script in html based on cookie

How can I load scripts in a html based on the cookie value. I need to switch between development and deployment mode. I am using wro4j but I can't find where the error comes in that wro4j grouped js files. if (getcookie(debug-mode) load the…
Govan
  • 7,751
  • 5
  • 26
  • 42
1 2 3 4 5
6