我正在尝试克隆rt.equinox.p2,但是每次失败都出现以下错误
error: unable to create file bundles/org.eclipse.equinox.p2.tests/testData/ProfilePreferencesTest/DifferentAgent/p2/org.eclipse.equinox.p2.engine/profileRegistry/TestProf
error: unable to create file bundles/org.eclipse.equinox.p2.tests/testData/configAreaToAgent/sharedWithoutBaseAvailable/p2/org.eclipse.equinox.p2.engine/profileRegistry/S
fatal: cannot create directory at 'bundles/org.eclipse.equinox.p2.tests/testData/previousConfigurationFinder/testNewBuildInDifferentFolder/differentConfigurations/org.ecl
Unable to checkout '244078186f2065a1458e2ce46deb8021d82a6b05' in submodule path 'rt.equinox.p2'
跟随Eclipse Wiki进行克隆:
git clone -b master --recursive git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.aggregator.git z
答案 0 :(得分:1)
错误消息中的路径被截断为相同长度,表明总路径长度太长(可能您使用的Windows操作系统有这种限制)。
作为解决方法,您可以尝试以下操作之一: