parsers

Tag: parsers

Defines a list of module descriptor parsers usable in Ivy. Each parser defines which resources (which descriptor file) it accepts. The child tag used for the parser must be equal to a name of a parser type (added with the typedef tag).

Note that when looking for a parser, Ivy queries the parsers list in the reverse order. So the last parser in the list will be queried first. Consequently, if the last parser accepts all resources, the other parsers will never have a chance to parse the resource.

Two parsers are available by default and thus do not need to be declared in this section:

  • Ivy file parser
    this is the parser used for Ivy XML files. This parser is used for resources that aren’t accepted by any other parser.

  • POM parser
    this parser is able to parse Maven 2 POM XML files

Child elements

Element Description Cardinality

any module descriptor parser

adds a module descriptor parser to the list of available parsers

0..n