Content Completion in Ant Build Files

The proposals offered by the Content Completion Assistant are context-sensitive.

The Content Completion Assistant proposes various item types that are defined in the current Ant build and in the imported and included builds. The proposals include:

  • Element names
  • Attribute names
  • Property names

    Note

    In addition to the user-defined properties, the Content Completion Assistant offers the following values:
    • The system properties set in the Java Virtual Machine.
    • The built-in properties that Ant provides.
  • Target names
  • Task and type reference IDs

    Tip

    To make a custom task available in the Content Completion Assistant, add a JAR file that contains the task implementation to the library directory of the built-in Ant distribution that comes bundled with Oxygen XML Developer plugin (for example, [OXYGEN_INSTALL_DIR]/tools/ant/lib folder).

Note

For Ant resources, the proposals are collected starting from the master files. The master files can be defined in the project or in the associated validation scenario. For further details about the Master Files support go to Defining Master Files at Project Level.

Was this helpful?