Below is a sample build.xml file (ABLDoc Ant task):
<?xml version="1.0" encoding="UTF-8"?> -<project basedir="." default="main" name="ABLDoc-Ant"> <!-- Properties used to configure the CLASSPATH and the default artifacts location --> <property name="DLC_HOME" value="C:/Progress/OpenEdge115"/><property name="version" value="11.5.0.00"/> <property name="PROJECT_HOME" value="${DLC_HOME}/oeide/eclipse/plugins/com.progress.openedge.pdt.abldoc.core_${version}"/> <property name="lib.dir" value="${PROJECT_HOME}/lib"/> <property name="artifacts.dir" value="${PROJECT_HOME}/abldoc-artifacts"/> <!-- Target for defining 'taskdef' --> -<target name="taskdef"> -<taskdef name="abldoc" classpath="${DLC_HOME}/java/ant-abldoc.jar" classname="com.progress.openedge.ant.abldoc.ABLDocTask"> <!-- Class path for including the dependencies --> -<classpath> -<fileset dir="${lib.dir}"> <include name="**/*.jar"/> </fileset> </classpath> </taskdef> </target> <!-- main task to generate the documentation --> -<target name="main" depends="taskdef"> -<abldoc includeProtected="true" includePrivate="true" tagParser="com.progress.abldoc.CustomTagParser" serializer="com.progress.abldoc.CustomSerializer" artifactLoc="${artifacts.dir}" includeExtension="i" verbose="yes" doctitle="ABLDoc Documentation" destdir="${basedir}/docs" dlc="${DLC_HOME}"> <abldocproject name="sample-prj" sourcepath="C:/abldoc/sample-prj" propath="C:/abldoc/lib" location="C:/abldoc/sample-prj"/> -<abldocproject name="project 2" location="C:/abldoc/sample-prj1"> -<propath> <pathelement location="C:/abldoc/lib/"/> </propath> -<sourcepath> <pathelement location="C:/abldoc/sample-prj1/procs"/> -<fileset dir="C:/abldoc/sample-prj1/classes"> <include name="**/*.cls"/> </fileset> </sourcepath> </abldocproject> </abldoc> </target> </project> |