Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用smartgit调用Groovy脚本作为子存储库上的预提交挂钩_Git_Groovy_Githooks_Smartgit - Fatal编程技术网

使用smartgit调用Groovy脚本作为子存储库上的预提交挂钩

使用smartgit调用Groovy脚本作为子存储库上的预提交挂钩,git,groovy,githooks,smartgit,Git,Groovy,Githooks,Smartgit,在别处独立调用预提交groovy脚本(而不是在我的子repo中)是有效的(使用windows命令行)。我正在使用Windows7 但是,当groovy脚本位于子存储库中时调用它会失败,并出现以下错误 捕获:java.net.MalformedURLException:未知协议:c 经过进一步研究,我发现了这个 使用fullpath调用脚本已中断 我正在使用Groovy 2.4.3,将其更新为Groovy 2.4.4修复了我的问题:)

在别处独立调用预提交groovy脚本(而不是在我的子repo中)是有效的(使用windows命令行)。我正在使用Windows7

但是,当groovy脚本位于子存储库中时调用它会失败,并出现以下错误

捕获:java.net.MalformedURLException:未知协议:c


经过进一步研究,我发现了这个

使用fullpath调用脚本已中断

我正在使用Groovy 2.4.3,将其更新为Groovy 2.4.4修复了我的问题:)