http://xml.apache.org/http://www.apache.org/http://www.w3.org/


Index
Features
Configuration
Document Flow
Build Testing
Usage
Todo
Mailing Lists
License

Use Alexandria
Code Repository
Javadoc


global.xml

Alexandrias main configuration file is the global.xml file. This file contains details of all the repositories Alexandria will use. Each repository contains a list of modules which Alexandria will display.

Example global.xml file:


<cvs>

  <repository type="CVS" opensource="false">

    <name>Alexandria</name>
    <root>/projects/jakarta-ant</root>
    <home>http://localhost</home>
        
    <module>

      <name>Ant</name>
      <description>nothing</description>
      <home>http://localhost</home>
      <module>jakarta-ant</module>
      <javasrc>src/main</javasrc>
      <revision tag="HEAD" latest="true"/>

      <build buildfile="build.xml" target="build" classpath="lib/mylib.jar">
        <arg name="build.dir" value="./build">
      </build>

      <test testfile="test.xml" target="test" classpath="lib/mylib.jar">
        <arg name="test.dir" value="./test">
      </test>
    </module>
        
  </repository>    

</cvs>
<cvs>   
  <repository>  The repository element represents a source code repository. 
    type=  Type of repository, by default this is a remote repository to point Alexandria at a local file system set this attribute to LOCAL
    opensource=  Alexandria should allow access to the source code true/false. 
    <name>  Name for repository. 
    <root>  CVSROOT for repository 
    <home>  Home URL for the repository 
    <module>  CVS module 
      <name>  Name of the CVS module 
      <description>  Discription for module 
      <home>  Home URL for the module 
      <module>  CVS module id 
      <javasrc>  Root directory for java source code 
      <revision>  CVS Revision tag 
        tag=  CVS Revision tag 
        latest=  Get latest version true/false 
      <build>  Build tag 
        buildfile=  Ant build file for building the modules 
        target=  Project target to build module 
        classpath=  Classpath used for building the module. Builds take place in a seperate JVM from Alexandria to avoid clashes with Alexandria's own system classes 
        <arg>  Argument to be passed into Ant as property 
          name=  Name of ant property 
          value=  Value to be past to Ant 
      <test>  Build tag 
        buildfile=  Ant build file for testing the modules 
        target=  Project target to test module 
        classpath=  Classpath used for testing the module. Tests take place in a seperate JVM from Alexandria to avoid clashes with Alexandria's own system classes 
        <arg>  Argument to be passed into Ant as property 
          name=  Name of ant property 
          value=  Value to be past to Ant 

AlexandriaResources.properties
Options which are not directly related to repositories are stored in the AlexandriaResources.properties file.
# Destination directory for JXR output
jxr.destination.directory=/var/www/html/content/html/jxr

# images for JXR.  These are actually copied over to the desired location so a
# file is required here.
jxr.image.file=content/html/file.gif
jxr.image.folder=content/html/folder.gif

# Directory where Alexandria does its CVS checkouts to.
cvs.checkout.directory=/var/www/html/content/cvs

# Size of blame history
blame.size=50


Copyright © 2000 The Apache Software Foundation. All Rights Reserved.