Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-761

Use wro4j to build/minimize javascript and css

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.9
    • 2.10
    • Templates and UI
    • None

    Description

      Currently jspwiki builds its javascript and css files from ant. This simply means compression by means of the YUI compressors. The css and js sources are large chunks of javascript and css.

      Introducing wro4j : (See http://code.google.com/p/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. 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.

      Easily improve your web application loading time. Keep project web resources (js & css) well organized, merge & minify them at run-time (using a simple filter) or build-time (using maven plugin) and has a dozen of features you may find useful when dealing with web resources.

      Benefits :

      • Adding wro4j will allow to break the js and css into logical components, and improve source management.
      • JSPWiki stylesheet- and skin-development can be improved by introducing LESS.
      • WRO4J can be used as servlet-filter (run-time building and compression of js and css) or at build-time.
      • WRO4J will improved page-loading time. (merge and zip of js/css resources)
      • WRO4J has an Apache licensed.

      Attachments

        Activity

          People

            brushed Dirk Frederickx
            brushed Dirk Frederickx
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: