Flex-like support for *.properties files.
Jangaroo 3 now has its own PropertiesCompiler, the old one lives
on in the EXML Maven plugin.
The new PropertiesCompiler takes all *.properties files that
are in the source path and converts them to JSON embedded
in an AMD define(). Like in Flex, the directory in which the
*.properties file is located determines its locale. The generated
*.js file is placed in a corresponding sub-directory.
The PropertiesCompiler also creates a "directory" or "master"
of all available locales of a resource bundle as another define(JSON).
This file is placed one directory level higher.
I new RequireJS plugin, "bundle", derived from RequireJS'
original "i18n", takes care of loading all locale-specific variants
of a resource bundle when a "bundle!Foo" dependency is
encountered. Like Flex, it uses the localeChain defined in
the mx.resources.ResourceManager singleton.
The annotation [ResourceBundle("Foo")] generates a
"bundle!Foo" dependency, so that the resource bundle
"Foo" is loaded and may be accessed through the well-known
Flex API (ResourceManager.getInstance().getString("Foo", "..."),
@Resource(bundle="Foo", key="...")).
TODO: support to set up the localeChain to the browser's
[user] language.
On the fly, fixed some problems with moving the runtime
from joo-api/ to joo/, and re-introduced the compile step
for jangaroo-runtime to be able to include the Resource...
classes.
All tests should be green again.