Slew of documentation and minor functionality changes addresing those listed here
[java-idp.git] / build.xml
index 471d730..85d68f4 100755 (executable)
--- a/build.xml
+++ b/build.xml
 
        <!-- Cleanup after the build, test, and distribution processes -->
        <target name="clean" depends="clean-all" />
-       <target name="clean-all" depends="clean-build, clean-dist, clean-test, clean-javadocs, clean-util" />
-       <target name="clean-build">
+
+    <target name="clean-all" depends="clean-build, clean-dist, clean-test, clean-javadocs, clean-util"/>
+       
+    <target name="clean-build">
                <delete dir="${build}" />
                <delete dir="${custom.libs}"/>
                <delete dir="${custom.webapges}"/>
            <antcall target="ext-invoke">
                <param name="exts.dir" value="${custom}"/>
-            <param name="ext.build.function" value="ext-clean"/>   
+            <param name="ext.build.function" value="ext-clean-build"/>   
            </antcall>
        </target>
-       <target name="clean-test">
+       
+    <target name="clean-test">
                <delete>
                        <fileset dir="${root}">
                                <include name="**/TEST*.txt" />
                        </fileset>
                </delete>
        </target>
-       <target name="clean-dist">
+       
+    <target name="clean-dist">
                <delete dir="${dist}" />
+        <antcall target="ext-invoke">
+            <param name="exts.dir" value="${custom}"/>
+            <param name="ext.build.function" value="ext-clean-dist"/>   
+        </antcall>   
        </target>
-       <target name="clean-javadocs">
+       
+    <target name="clean-javadocs">
                <delete dir="${javadocs}" />
+        <antcall target="ext-invoke">
+            <param name="exts.dir" value="${custom}"/>
+            <param name="ext.build.function" value="ext-clean-javadocs"/>   
+        </antcall>
        </target>
-       <target name="clean-util">
+       
+    <target name="clean-util">
                <delete>
                        <fileset dir="${buildlibs}">
                                <include name="shib-util.jar" />
                        </fileset>
                </delete>
        </target>
-       <!-- For IDE development, run this target first to delete all
-       directories generated by the install process before
-       recreating and reinstalling everything. -->
-       <target name="clean-install" depends="init" 
-               description="Delete old configuration and Tomcat webapp directories.">
-               <delete dir="${idp.home}" />
-               <delete dir="${sp.home}" />
-               <delete dir="${tomcat.home}/webapps/${idp.webapp.name}" />
-               <delete dir="${tomcat.home}/webapps/${sp.webapp.name}" />
-       </target>
-
 
        <!-- Add to the classpath for unit tests -->
        <path id="test.path">