-
Notifications
You must be signed in to change notification settings - Fork 37
Output Configuration
highsource edited this page Dec 22, 2014
·
2 revisions
<jsonix:output
naming="compact|standard"
fileName="${module.name}.compact.js"/>Configures output (naming strategy and file name pattern) for modules. Each output will be applied to each of the compiled Jsonix modules. This allow writing one module in different output files using different naming strategies.
-
naming, optional - specifies whethercompactorstandardnaming should be used. If omitted, thestandardnaming will be used. -
fileName, optional - file name pattern for the generated files. Supports the special${module.name}expression which will be substituted with the module name. If omitted, will be generated automatically based on the effectivenaming:-
${module.name}.jsifnamingisstandard. -
${module.name}.compact.jsifnamingiscompact.
-
Output configuration may be declared in the following places:
- Top-Level Configuration Element - configures default outputs for modules, optional. If some module does not declare any output configuration, default output configuration will be applied. If no default output is configured on the top level, at least one default output configuration will be created implicitly, based on the default naming strategy.
- Module Configuration - configures outputs for the given module. If omitted, default output configuration will be applied.
- Usage
- Basic Concepts
- Generation
- Configuration
- Advanced Topics
- Sample Projects
- Troubleshooting
- Development