jso.xml Descriptor file
This descriptor file is really easy to configure.
Here is a simple overview of all the possibilities provided by this xml file:
<group name="group1" location="http://localhost:8085/">
<group name="all-min" retention="true">
<group name="all-complete" minimize="false">
As you can see, a group is identified by a name and contains resources (that can be either js files, css files, or references to other groups).
These resources can be located at any place. The inheritable location
attribute allow you to customize the resources location. In this example, the resources of "group1" are provided by an different server.
Note that if the group is set as minimized, and in a remote server, you will have to compress manually (JSOMain class) and set that compressed file at the remote location. The path for that file must be "LOCATION/jso/GROUP_NAME.js".
A group is minimized by default, but this feature can be disabled by setting the minimize
attribute to false : the files won't be modified (just concatenated if exploded
mode is set to false in the tag). Furthermore, this minimized
attribute is recursive, it will be applied to all its nested resources. This can be really useful to set different configurations modes.