Skip to end of metadata
Go to start of metadata
Sommaire

Searching Documentation JS-Optimizer 2.2

 

This file cant not be extended so it is necessary to redefine all properties even if just one has to be change.

The properties that can be extended are:

jso.groupLoaderClass

Define the configuration for group reloading. The default value is com.ideo.jso.conf.ProdGroupBuilder

jso.configurationLoaderClass

Define the configuration for configuration reloading. The default value is com.ideo.jso.conf.ConfigurationLoaderImpl.

jso.configFileName

The name with extention of the configuration file. The default value is jso.xml.

jso.retentionPath

Define the directory in witch to write the retention files. The default value is /.

jso.jsMinifier

Defined the class to use to minimize the javascript files. The default value is com.ideo.jso.minifier.js.JsMinMinifier.

jso.cssMinifier (since 2.3)

Defined the class to use to minimize the javascript files. The default value is com.ideo.jso.minifier.css.YuiCssMinifier.
(tick) This functionality is implemented since version 2.3.

jso.cssReductionOn (since 2.3)

[true|false] If true, css files will be minimized/merged (depending on group configuration).
This parameter is false by default to ensure retro-compatibility will previous version.

jso.defaultEncoding

Define the default encoding of mini/merged file. The default value is UTF-8

jso.allowedJar

Defile a list of allowed jar in witch to look for the jso xml file. This list of allowed jar has comma for separator.
The default value is "*" for allowing reading jso xml config file from all jar.
Exemple:
jso.allowedJar = toto.jar, titi.jar
=> The js-optimizer will look for jso.xml in the web-content and only in jars toto.jar and titi.jar.

jso.externalFilePath

Define the locationof the configuration file (jso.xml) if it is not in the classPath but in file system location. There is no default value.

Labels
  • None