Commit 546a83ad authored by Guus der Kinderen's avatar Guus der Kinderen

OF-950: Build script should have a 'clean plugin' target.

parent ce0b8982
...@@ -1660,28 +1660,28 @@ ...@@ -1660,28 +1660,28 @@
</if> </if>
</target> </target>
<!-- clean-jspc ============================================================================ --> <target name="clean-jspc" description="Cleans up all JSPC output">
<!-- Cleans all JSPC output -->
<target name="clean-jspc">
<delete dir="${jspc.dest.dir}"/> <delete dir="${jspc.dest.dir}"/>
</target> </target>
<!-- clean-test ============================================================================ --> <target name="clean-test" description="Cleans up all compiled test classes">
<!-- Cleans all compiled test classes -->
<target name="clean-test">
<delete dir="${test.classes.dest.dir}"/> <delete dir="${test.classes.dest.dir}"/>
</target> </target>
<!-- clean-plugins ========================================================================= --> <target name="clean-plugins" description="Cleans up all generated plugins">
<!-- Cleans all generated plugins -->
<target name="clean-plugins">
<delete includeemptydirs="true" failonerror="false"> <delete includeemptydirs="true" failonerror="false">
<fileset dir="${plugin.dest.dir}" excludes="admin/**/*.*"/> <fileset dir="${plugin.dest.dir}" excludes="admin/**/*.*"/>
</delete> </delete>
<!--<delete dir="${plugin.dest.dir}"/> -->
<delete dir="${plugin.dev.dest.dir}"/> <delete dir="${plugin.dev.dest.dir}"/>
</target> </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 ========================================================================= --> <!-- Mac installer ========================================================================= -->
<property name="target.osx" value="${work.dir}/osx" /> <property name="target.osx" value="${work.dir}/osx" />
<property name="mac.pkg.dir" value="${target.osx}/macpkg"/> <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