Changes between Version 18 and Version 19 of Doc/TemplateCustom
- Timestamp:
- May 18, 2007, 8:36:33 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Doc/TemplateCustom
v18 v19 32 32 Each cluster is can be associated with one specific OS version, middleware version or sites by defining the appropriate include path used by pan compiler to locate templates. This include path is defined in the file {{{cluster.build.properties}}} at the top of each cluster hierarchy ({{{cfg/clusters/}}}''cluster-name''). 33 33 34 This file must contain one line defining the property {{{cluster.pan.includes}}} as a list of space separated hierarchy list. The hierarchy is interpreted as afile pattern relative to the {{{cfg}}} directory (or whatever has been specified for {{{cfg}}} property in file {{{quattor.build.xml}}}). It '''must''' end with {{{*}}}. To specify all sub-directories below a given directory, the pattern {{{**/*}}} must be used.34 This file must contain one line defining the property {{{cluster.pan.includes}}} as a list of space separated hierarchy list. The hierarchy is interpreted as afile pattern relative to the {{{cfg}}} directory (or whatever has been specified for {{{cfg}}} property in file {{{quattor.build.xml}}}). To specify all sub-directories below a given directory, the pattern {{{**/*}}} must be used. For namespaced templates, only the directory root must be specified. If both are needed, directory root must be specified first. 35 35 36 36 The include path is processed in the order specified. If a template exists in several hierarchies, the first one found according to the include path order is used. '''Conversely, if a template exists in several directories of a hierarchy, the inclusion order is unspecified.''' … … 38 38 A {{{cluster.build.properties}}} example is : 39 39 {{{ 40 cluster.pan.includes=sites/ lal/**/* sites/grif/**/* grid/lcg-2.7.0/**/* os/sl305-i386/**/* standard/**/*40 cluster.pan.includes=sites/example sites/example/**/* grid/glite-3.0.0 grid/glite-3.0.0/components os os/sl307-i386 standard standard/**/* 41 41 }}} 42 42