Make extension script a little more friendly. It will fail and print an error when...
[java-idp.git] / build.xml
index 4efb630..b928d6b 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, clean-ext" />
+       <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-clean">
+               <param name="exts.dir" value="${custom}"/>
+           </antcall>
        </target>
        <target name="clean-test">
                <delete>