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

Can I defer, in Maven, the resources filtering after the execution of a plugin?

I'm using wro4j for js and css aggregation. So, I work with my js files and in maven build time, wro4j executes and creates the unique js files I need. There is one js file that has a couple of variables based on the profile from pom.xml (related to…
Agorreca
  • 684
  • 16
  • 31
3
votes
0 answers

m2e fails to execute wro4j plugin

I would like to use wro4j maven plugin in a project. I works using mvn command line, but not in Eclipse/m2e. I tried both lifecycle-mapping customization, and wroj4j-m2e integration plugin. Here is the error with lifecycle-mapping customization…
mban92
  • 31
  • 3
2
votes
1 answer

Sap Hybris - Wro4J Failed to load resource in the cloud - 404 error

I'm facing a 404 error once enable "storefront.wro4j.enabled" in the cloud. In my local, all files are generated and working fine. I'm not able to find an issue in the cloud.
deenasiva
  • 23
  • 4
2
votes
0 answers

Can I enable typescript processing only on TS files in wro4j?

I have a legacy app with has old JS code, but I want to utilize TypeScript for some of the newer components. Is it possible to tell wro4j to only apply the rhinoTypeScript preprocessor only on "*.ts" files?
Archimedes Trajano
  • 35,625
  • 19
  • 175
  • 265
2
votes
1 answer

Wro-maven plugin - CSS changes are overwritten

Using Wro-maven plugin version 1.8.0. When a CSS file is updated, once clean install is triggered on Maven, the changes are lost in CSS file and old file is present. ro.isdc.wro4j
DecKno
  • 293
  • 1
  • 5
  • 21
2
votes
2 answers

Hot swapping in IntelliJ with Spring Boot and wro4j

I am currently developing the front-end/webapp for an embedded server (packaged in a .jar file, running as Tomcat) with AngularJs. The server has some API Endpoints which i want to be able to use in the front-end. My current approach is to use…
puelo
  • 5,464
  • 2
  • 34
  • 62
2
votes
1 answer

Wro4j - Rhino implementation

I'm trying to implement Wro4j on my Maven project. I added the following code dependency in my pom.xml: 1.7.9 ro.isdc.wro4j
Ahmad AlMughrabi
  • 1,612
  • 17
  • 28
2
votes
1 answer

wro4j and browser caching

I'm using WRO4j to process my less and js files, and I'm finding that the browser seems to keep caching the old files. WRO4j has an enhancement to add a hash to the URL to bust the cache, but it looks like it hasn't been done. What are my options…
chubbsondubs
  • 37,646
  • 24
  • 106
  • 138
2
votes
1 answer

Spring MVC 4 targetBeanName NoSuchBeanDefinitionException

I have a filter defined in web.xml org.springframework.web.context.ContextLoaderListener contextConfigLocation
pyetti
  • 188
  • 2
  • 14
2
votes
2 answers

Wro4j not showing BootStrap Glyphicons search button component

Currently I'm evaluating a web resource optimizer for my Java web app. I start using Wro4j and I'm having small issue it could be a configuration related. The issue I'm having is only related to bootstrap glyphicons component not rendered properly,…
Kamal
  • 1,476
  • 1
  • 13
  • 21
2
votes
1 answer

Wro4j : RubySassCss preprocessor is ignored

I'm using wro4j 1.7.1 in a spring application. Recently I tried to add the RubySassCss preprocessor to the preprocessor I used but without any success. The configuration I used : #…
Hugo Lassiège
  • 986
  • 1
  • 11
  • 26
2
votes
1 answer

Sass variable arguments syntax not working in wro4j's rubySassCss

I'm implementing Sass support in our Java application. As we already have wro4j (in the newest version 1.7.5), I decided on using it's rubySassCss as a pre-processor. I got it all configured and the whole thing process .scss files alright, until I…
Robert Kusznier
  • 6,471
  • 9
  • 50
  • 71
2
votes
1 answer

Wro4j enable/disable cache dyanamically

I would like to configure Wro4j in such a way that it should dynamically enable/disable cache based on the properties file (not wro.properties) is implementing a custom RequestHandeler good ideal? Please let me know if there is any possible way to…
sun2
  • 1,118
  • 1
  • 13
  • 17
2
votes
1 answer

wro4j less processing fails for bootstrap 3.1.0

I'm running wro4j-maven-plugin 1.7.3 against the latest bootstrap less sources (3.1.0) and get the following exception: Failed to execute goal ro.isdc.wro4j:wro4j-maven-plugin:1.7.3:run (default) on project dezolve-web: Exception occured while…
anger
  • 1,018
  • 1
  • 9
  • 25
2
votes
1 answer

Wro4j: Generate CSS file from LESS file

Editing the original question to provide all the details. Added following in web.xml: WroContextFilter ro.isdc.wro.http.WroContextFilter
anand tiwari
  • 157
  • 2
  • 10