This is an automated email from the ASF dual-hosted git repository. desruisseaux pushed a commit to branch geoapi-4.0 in repository https://gitbox.apache.org/repos/asf/sis.git
commit abafcba8a2d5fbcd448cd3432f5e3dd304108d32 Author: Martin Desruisseaux <martin.desruisse...@geomatys.com> AuthorDate: Tue Aug 29 10:26:02 2023 +0200 Skip the Ivy task if the "dependencies" directory is already present. --- netbeans-project/build.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/netbeans-project/build.xml b/netbeans-project/build.xml index af190283ca..0f39937cb2 100644 --- a/netbeans-project/build.xml +++ b/netbeans-project/build.xml @@ -25,7 +25,12 @@ configure NetBeans with `-add-reads` and `-add-exports` javac arguments for test compilation only. --> - <target name="-pre-compile"> + <target name="dir.check"> + <condition property="dir.exists"> + <available file="build/dependencies" type="dir"/> + </condition> + </target> + <target name="-pre-compile" depends="dir.check" unless="dir.exists"> <ivy:settings file="ivy-settings.xml"/> <ivy:retrieve pattern="build/dependencies/[artifact].[ext]" symlink="true" sync="true"/> <symlink link="${basedir}/build/dependencies/geoapi-pending.jar"