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

intelligent hot reloading of jetty after css has changed

I'd like to have a hot-reloading enabled jetty with wro4j that does not kill the whole server for a few seconds just because a character has changed in a css file. I have set up wro4j to locate css resources that is outside of the classpath.
Tamas
  • 3,254
  • 4
  • 29
  • 51
2
votes
1 answer

Unable to use ConfigurableWroManagerFactory in wro4j-maven-plugin (NPE)

I'm getting an NPE when using the ConfigurableWroManagerFactory wroManagerFactory and can't seem to trace down the cause. It seems that Context.get().getFilterConfig(); returns null.. Stacktrace (this is the root cause of a…
jlb
  • 19,090
  • 8
  • 34
  • 65
2
votes
2 answers

wro4j-maven-plugin slow performance

We are using wro4j maven plugin to process css. we have so much css and the wro processing at build time almost takes 10~20 minutes. If I use maven parallel option it is reduced to 8 mins. I still want to reduce its build time as effective as…
Patan
  • 17,073
  • 36
  • 124
  • 198
2
votes
1 answer

Wro4j Custom XML Model Location

I've put wro.xml in src/main/resources as there are some other resources and it's easier to access them in unit tests. I need to extend some wro classes now to be able to read the model from another place, but can't get it working. Necessary…
dtrunk
  • 4,685
  • 17
  • 65
  • 109
2
votes
1 answer

wro4j wildcards don't work for classpath?

classpath:gss/** results in [INFO] wroManagerFactory class: ro.isdc.wro.extensions.manager.standalone.GoogleStandaloneManagerFactory 0 …
MikePatel
  • 2,593
  • 2
  • 24
  • 38
2
votes
2 answers

Wro4j maven plugin: Invalid wro.xml

I'm trying to get the wro4j maven plugin working, unfortunatly I'm being presented with an error that I do not quite understand it's reason: [ERROR] Failed to execute goal ro.isdc.wro4j:wro4j-maven-plugin:1.5.0:run (proprocess- resources) on…
user655145
2
votes
2 answers

Wro4j maven plugin - required class is missing

I'm trying to run wro4j maven plugin according to the documentation I add the plugin to my pom.xml: ro.isdc.wro4j wro4j-maven-plugin 1.5.0 and run the…
Nailgun
  • 3,999
  • 4
  • 31
  • 46
2
votes
1 answer

Is there a way to to generate a surefire report for the wro4j jshint maven plugin?

Is there a way to get the (excellent) wro4j jshint plugin to produce a surefire report as part of its execution? I'm not sure if this is an outstanding feature request or if there is already a way of doing it. Currently the only output I can get…
Caroline
  • 1,582
  • 3
  • 16
  • 30
1
vote
0 answers

Integrating React app into a Wicket/wro4j app

Given: Simple reactjs-app with 3 components, based on
and adding a global js-function: export default class SelectPanel extends Component { constructor( props ){ super( props ) window.showLayerSelection =…
injecteer
  • 20,038
  • 4
  • 45
  • 89
1
vote
1 answer

Hybris with wro4j not pulling in addon js files

When using wro4j for minification in Hyrbis addon js files are not being added to the generated minified/concatenated output (/wro/addons_responsive.js) OOTB addons are being pulled in however third party addons are not. I've added their path to the…
Sion Griffiths
  • 557
  • 7
  • 17
1
vote
0 answers

How to process wro4j at startup?

I have to use wro4j runtime solution. However, the first request to the server for the processed css file is very slow. For production mode, I would like wro4j to generate it's files at application startup, to avoid the first slow request. Here is…
baraber
  • 3,296
  • 27
  • 46
1
vote
1 answer

Eclipse does not reload compiled css while running

TLDR; Eclipse does not seem to detect changes in compiled css file and does not reload them on a running server. Problem I can successfully generate css files from less files using wro4j everytime i update a less file. I have followed this tutorial…
nissim_dev
  • 323
  • 2
  • 14
1
vote
2 answers

Does Intellij support wro4j?

I started programming in Java using Eclipse a few years ago, but then I had the opportunity to work with Intellij and I'm happier with it, because it's more performant, even though it has less plugins. My problem is that now I'm working with wro4j…
nbro
  • 15,395
  • 32
  • 113
  • 196
1
vote
3 answers

Spring Boot AngularJs Application: angular-bootstrap.css generation using wro4j-maven-plugin Fails

I am following the part 1 of this tutorial. I have reached this section "Loading a Dynamic Resource from Angular". As per the tutorial instructions, when I build the aplication using maven mvn clean package, the wro4j-maven-plugin fails to generate…
Karthick
  • 41
  • 1
  • 8
1
vote
3 answers

spring boot security static resources

I write app in Spring Boot, Spring Security with Thymeleaf and I try to get access my static resource file... This is my project structure... . ├── mvnw ├── mvnw.cmd ├── nb-configuration.xml ├── pom.xml ├── src │   ├──…
technics
  • 125
  • 1
  • 3
  • 7