link
Avalon
Avalon Central
Home PlanetProductsCentral
Imports

An index.xml can import the definitions from another index.xml. Importing an index results in the creation of resource defintions - in particular, project and plugin definitions are converted to resource defintions.

Example import.

<?xml version="1.0" encoding="ISO-8859-1"?>

<index>

  <import index="../central/system/index.xml"/>

  <project basedir="tutorials/hello" key="avalon-tutorial-hello">
    <info>
      <group>avalon/tutorial</group>
      <name>hello</name>
    </info>
    <dependencies>
      <include key="avalon-framework-api"/>
    </dependencies>
    <plugins>
      <include key="avalon-meta-tools"/>
    </plugins>
  </project>

  <project basedir="tutorials/dynamics" key="avalon-tutorial-dynamics">
    <info>
      <group>avalon/tutorial</group>
      <name>dynamics</name>
    </info>
    <dependencies>
      <include key="avalon-framework-api"/>
      <include key="avalon-framework-impl"/>
      <include key="avalon-composition-api"/>
      <include key="avalon-meta-api"/>
    </dependencies>
    <plugins>
      <include key="avalon-meta-tools"/>
    </plugins>
  </project>

</index>