Java ANT task for Aspose.Words

Hi,
Is there any code for a java ANT task so I can use Aspose.Words to convert docx to PDF using ANT?

Thanks
Philip

@philipru,

you can write a simple jar that will perform any actions you need and then use it as a task in the build script for ant. For example:

...
<property name="converter.jar" value="${lib_dir}\converter.jar"/>
...
<target name="convert">
	<java jar="${converter.jar}" fork="true">
		<arg value="file.docx"/>
	</java>
</target>
...