This is an automated email from the ASF dual-hosted git repository. mbien pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push: new 232bcdc669 Fix #5196: use precise sha1 instead of deleted tag vm-20.3.0 new d85934087b Merge pull request #5199 from sdedic/ci/mxprojects-hotfix 232bcdc669 is described below commit 232bcdc66927e413a2324bdcaacf0b0fbc4816f3 Author: Svata Dedic <svatopluk.de...@oracle.com> AuthorDate: Wed Jan 4 16:18:32 2023 +0100 Fix #5196: use precise sha1 instead of deleted tag vm-20.3.0 --- java/java.mx.project/build.xml | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/java/java.mx.project/build.xml b/java/java.mx.project/build.xml index b02e9fca4e..86d4236da0 100644 --- a/java/java.mx.project/build.xml +++ b/java/java.mx.project/build.xml @@ -26,15 +26,31 @@ <target name="-checkout-graalvm" unless="graal.dir.available"> <delete dir="${graal.dir}"/> - <mkdir dir="${graal.dir}/.."/> - <exec dir="${graal.dir}/.." executable="git" failonerror="true"> - <arg value="clone"/> - <arg value="--depth=1"/> - <arg value="--branch"/> - <arg value="vm-20.3.0"/> - <arg value="--single-branch"/> + <mkdir dir="${graal.dir}"/> + + <!-- Avoid git-clone of the full Graal repository --> + <exec dir="${graal.dir}" executable="git" failonerror="true"> + <arg value="init"/> + </exec> + <exec dir="${graal.dir}" executable="git" failonerror="true"> + <arg value="remote"/> + <arg value="add"/> + <arg value="origin"/> <arg value="https://github.com/oracle/graal"/> </exec> + <echo message="Fetching GraalVM revision from https://github.com/oracle/graal"/> + <exec dir="${graal.dir}" executable="git" failonerror="true"> + <arg value="fetch"/> + <arg value="origin"/> + <!-- The commit ID corresponds to a removed tag vm-20.3.0, by Gilles Duboscq, message "Release 20.3.0", Thu Nov 12 22:49:14 --> + <arg value="c5ff5a5a091bfd974640aaf6fbe51c81bd080438"/> + </exec> + <exec dir="${graal.dir}" executable="git" failonerror="true"> + <arg value="reset"/> + <arg value="--hard"/> + <arg value="FETCH_HEAD"/> + </exec> + <delete dir="${mx.dir}"/> <mkdir dir="${mx.dir}/.."/> <exec dir="${mx.dir}/.." executable="git" failonerror="true"> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists