Setting Up the Optional Ant Tasks
The following XML must be added to your build.xml
file to use the optional Ant tasks in your build.
<!-- Definitions for tasks for Java Card tools -->
<taskdefname="capdump" classname="com.sun.javacard.ant.tasks.CapdumpTask" />
<taskdefname="capgen" classname="com.sun.javacard.ant.tasks.CapgenTask" />
<taskdef name="exp2text" classname="com.sun.javacard.ant.tasks.Exp2TextTask" />
<taskdefname="convert" classname="com.sun.javacard.ant.tasks.ConverterTask" />
<taskdef name="verifyexport" classname="com.sun.javacard.ant.tasks.VerifyExpTask" />
<taskdef name="verifycap" classname="com.sun.javacard.ant.tasks.VerifyCapTask" />
<taskdef name="verifyrevision" classname="com.sun.javacard.ant.tasks.VerifyRevTask" />
<typedef name="appletnameaid" classname="com.sun.javacard.ant.types.AppletNameAID" />
<typedef name="jcainputfile" classname="com.sun.javacard.ant.types.JCAInputFile" />
<typedef name="exportfiles" classname="org.apache.tools.ant.types.FileSet" />