Orangevolt ANT Tasks » Tasks » preferences » Element export
Element exportElement import

2.4.5.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">
          <!-- export whole subtree -->
        <export file="foo.xml"/>
          <!-- export only data entries of the path -->
        <export noSubElements="true" file="foo-entries.xml"/>
      </preferences>
    </target>
  </project>