next up previous contents index
Next: Mail Up: LoadProperties Previous: Parameters   Contents   Index

Examples

    <loadproperties srcFile="file.properties"/>
Load contents of file.properties as Ant properties.
    <loadproperties srcFile="file.properties">
      <filterchain>
        <linecontains>
          <contains value="import."/>
        </linecontains>
      </filterchain>
    </loadproperties>
Read the lines that contain the string "import." from the file "file.properties" and load them as Ant properties.



Andrew Marlow 2003-07-08