Ant sample code
Some sample code from Ant build files for use with the publisher.
Basic Ant build file
A basic Ant build file using the Ant library.
<?xml version="1.0" encoding="utf-8" ?>
<!--
Basic ANT file for the publisher.
-->
<project name="sample" xmlns:ps="antlib:com.pageseeder.publishapi.ant">
<!-- Main task visible in the PageSeeder UI -->
<target name="do-something" description="Does something">
<!-- Your ANT code here ... -->
</target>
<!-- Hidden task (starts with '-') -->
<target name="-do-something" description="Does something">
<!-- You ANT code here ... -->
</target>
</project>