Commit 748e2cf6 authored by Guus der Kinderen's avatar Guus der Kinderen

Merge pull request #298 from guusdk/OF-950

OF-950: Build script should have a 'clean plugin' target.
parents ce0b8982 546a83ad
......@@ -1660,28 +1660,28 @@
</if>
</target>
<!-- clean-jspc ============================================================================ -->
<!-- Cleans all JSPC output -->
<target name="clean-jspc">
<target name="clean-jspc" description="Cleans up all JSPC output">
<delete dir="${jspc.dest.dir}"/>
</target>
<!-- clean-test ============================================================================ -->
<!-- Cleans all compiled test classes -->
<target name="clean-test">
<target name="clean-test" description="Cleans up all compiled test classes">
<delete dir="${test.classes.dest.dir}"/>
</target>
<!-- clean-plugins ========================================================================= -->
<!-- Cleans all generated plugins -->
<target name="clean-plugins">
<target name="clean-plugins" description="Cleans up all generated plugins">
<delete includeemptydirs="true" failonerror="false">
<fileset dir="${plugin.dest.dir}" excludes="admin/**/*.*"/>
</delete>
<!--<delete dir="${plugin.dest.dir}"/> -->
<delete dir="${plugin.dev.dest.dir}"/>
</target>
<target name="clean-plugin" description="Cleans up one generated plugin">
<delete includeemptydirs="true" failonerror="false">
<fileset dir="${plugin.dest.dir}/${plugin}.jar" excludes="admin/**/*.*"/>
</delete>
<delete dir="${plugin.dev.dest.dir}/${plugin}" failonerror="false"/>
</target>
<!-- Mac installer ========================================================================= -->
<property name="target.osx" value="${work.dir}/osx" />
<property name="mac.pkg.dir" value="${target.osx}/macpkg"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment