add clean-libs target to build.xml files

This commit is contained in:
Ben Fry
2022-08-04 10:37:44 -04:00
parent 1cbcb73c57
commit a8bb758f9e
5 changed files with 35 additions and 22 deletions

View File

@@ -173,16 +173,18 @@
<jar basedir="bin" destfile="pde.jar" />
</target>
<target name="update" description="Update the downloaded libraries">
<target name="clean-libs" description="Remove the downloaded libraries">
<delete>
<fileset refid="ant.files" />
<fileset refid="flatlaf.files" />
<fileset refid="jna.files" />
</delete>
<!--
<antcall target="download-ant" />
<antcall target="download-flatlaf" />
<antcall target="download-jna" />
-->
</target>
<target name="clean" description="Clean the build directories">

View File

@@ -1572,12 +1572,16 @@
</target>
<!-- - - - - - - - -->
<!-- Run It! -->
<!-- - - - - - - - -->
<!-- Cleaning the build and libraries -->
<target name="clean" description="Perform a spring cleaning"
depends="linux-clean, windows-clean, macos-clean, subprojects-clean">
</target>
<target name="clean-libs" description="Purge downloaded support libraries">
<subant buildpath="../core" target="clean-libs"/>
<subant buildpath="../app" target="clean-libs"/>
<subant buildpath="../java/libraries/svg" target="clean-libs"/>
</target>
</project>

View File

@@ -3,19 +3,6 @@
<property environment="env" />
<target name="clean" description="Clean out the build directories">
<delete dir="bin" />
<delete dir="bin-test" />
<delete file="library/core.jar" />
</target>
<target name="clean-jogl" description="Clean out the JOGL binaries">
<delete>
<fileset dir="library" includes="gluegen-rt*.jar" />
<fileset dir="library" includes="jogl-all*.jar" />
</delete>
</target>
<target name="methods-check">
<available file="methods/methods.jar" property="methods.present" />
</target>
@@ -216,4 +203,19 @@
<echo message="Wrote source jar to ${source.jar.path}" />
</target>
<target name="clean-libs" description="Clean out the JOGL binary downloads">
<delete>
<fileset dir="library" includes="gluegen-rt*.jar" />
<fileset dir="library" includes="jogl-all*.jar" />
</delete>
<!-- <antcall target="download-jogl" /> -->
</target>
<target name="clean" description="Clean out the build directories">
<delete dir="bin" />
<delete dir="bin-test" />
<delete file="library/core.jar" />
</target>
</project>

View File

@@ -1,11 +1,6 @@
<?xml version="1.0"?>
<project name="Processing SVG Library" default="build">
<target name="clean" description="Clean the build directories">
<delete dir="bin" />
<delete file="library/svg.jar" />
</target>
<property name="core.library.jar" location="../../../core/library/core.jar" />
<property name="batik.version" value="1.14" />
@@ -76,4 +71,13 @@
<target name="build" depends="compile" description="Build SVG library">
<jar basedir="bin" destfile="library/svg.jar" />
</target>
<target name="clean" description="Clean the build directories">
<delete dir="bin" />
<delete file="library/svg.jar" />
</target>
<target name="clean-libs" description="Clean the build directories">
<delete file="${batik.library.jar}" />
</target>
</project>

View File

@@ -29,6 +29,7 @@ X close the interface issue, major changes done
X remove underscore and use (half?) space for tabs?
X half space character not implemented, but the space looks good
X disable behavior with sketch.name.replace_underscore = false
X add clean-libs target to build.xml files that need it
naming
X Friendly Names for new Sketches (includes UI for switching it back)