Changes between Version 7 and Version 8 of Doc/TemplateCustom
- Timestamp:
- Jul 27, 2006, 10:05:38 AM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc/TemplateCustom
v7 v8 123 123 == Template Compilation Tool == 124 124 125 All the template processing needed to build machine profiles is done with {{{ant}}} tools, a Java based equivalent of {{{make}}}. {{{ant}}} brings the advantage of platform independance, allowing to do Quattor management tasks on any platform (Unix, Windows, MacOS).125 The recommended method to process all the templates and build machine profiles is to use{{{ant}}} tool, a Java based equivalent of {{{make}}}, provided with SCDB (it can also be used without SCDB). {{{ant}}} brings the advantage of platform independance, allowing to do Quattor management tasks on any platform (Unix, Windows, MacOS). 126 126 127 Specific management tasks (called {{{targets}}}) are passed as a parameter to {{{ant}}} command, in much the same way this is done with {{{make}}}. There are 3 main targets for managing Quattor (other targets are used internally by {{{ant}}}) : 128 129 * {{{compile.all}}} : this task recompiles all the machine profiles affected by template changes. This is the default if no target is specified. 130 * {{{deploy}}} : this task deploys the new machine profiles on the Quattor server. This can occurs only after successful compilation of all clusters. 131 * {{{update.rep.templates}}} : this task updates templates describing RPM repositories contents by scanning each repository associated directory. 132 133 127 Look at [wiki:Doc/SCDB/Usage SCDB usage] documentation for more information on how to use this tool.