Cernunnos Manual


<add-grammar>

** DEPRECATED ** since 1.0.0

Use <grammar> and <entry> instead.

Description:

Reads a new Grammar based on the specified resource and overlays the current one with it. Subtasks will be read and bootstrapped in light of this new Grammar.

Reagents:

Name XPath Description Reagent Type Expected Type Required
CONTEXT @context The context from which missing elements of the LOCATION can be inferred if it is relative. The default is the filesystem location from which Java is executing. WARNING: This reagent must be a String (not a Phrase) because it gets used at boostrap time. A URL will be constructed from the value via new URL(String spec). STRING java.lang.String No
LOCATION @location The location of the grammar file that defines the grammar to add. WARNING: This reagent must be a String (not a Phrase) because it gets used at boostrap time (not runtime). STRING java.lang.String Yes
SUBTASKS * The set of tasks that are children of this task. NODE_LIST java.util.List No

Examples: