错误:无法创建文件包/org.eclipse.equinox.p2.tests/testData/ProfilePreferencesTest
我正在尝试克隆rt.equinox.p2,但每次都失败,出现以下错误错误:无法创建文件包/org.eclipse.equinox.p2.tests/testData/ProfilePreferencesTest,eclipse,git,equinox,p2,Eclipse,Git,Equinox,P2,我正在尝试克隆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.ecl
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'
要克隆的以下操作:
git clone -b master --recursive git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.aggregator.git z
错误消息中的路径被截断为相同的长度,这表明总路径长度太长(可能您使用的是有此限制的Windows) 作为解决方法,您可以尝试以下方法之一:
- 使用根目录(或具有短名称的子目录)作为本地存储库的位置
- 使用Eclipse(EGit)克隆存储库(路径长度限制仅在命令行上存在)