Orangevolt ANT Tasks » Tasks » preferences » Element import
Element importproperties

2.4.6.1.  Example

<?xml version="1.0"?>  
    
  <project basedir="." name="foo" default="main">
    <taskdef classpath="orangevolt-ant-tasks-1.3.2.jar" resource="com/orangevolt/tools/ant/taskdefs.properties"/>
      
    <target name="check">
      <preferences type="user" path="com/orangevolt/tools/foo">
        <import file="foo.xml"/>
        <import>
          <fileset dir="." includes="preferences*.xml"/>
          <fileset dir="./preferences" includes="**/*_pref.xml"/>
        </import>
      </preferences>
    </target>
  </project>