简体   繁体   English

从svn存储库文件夹导入所有项目

[英]import all projects from svn repository folder

I have that problem: I checkout folder (myFolder for example) using tortoise svn. 我有这个问题:我使用tortoise svn签出文件夹(例如myFolder)。

import->existing projects into workspace

after it eclipse found a lot of projects(about 50) from different locations of myFolder. 之后,eclipse从myFolder的不同位置发现了很多项目(大约50个)。

BUT eclipse doesn't understand that these projects from svn(no svn menu if make right click on any file and select team submenu) 但是 eclipse不明白这些项目来自svn(没有svn菜单,如果右键点击任何文件并选择团队子菜单)

I attempt to import-> team project set but after it in eclipse I see myfolder only. 我试图import-> team project set但是在日食之后我只看到了我的文件夹。 it is just folder - not projects. 它只是文件夹 - 而不是项目。 I cannot to compile it and use other features. 我无法编译它并使用其他功能。

I think you are understand my problem. 我想你明白我的问题。

Can you help me? 你能帮助我吗?

If you have already checkout your projects, import them in eclipse then follow below steps. 如果您已经签出了项目,请在eclipse中导入它们,然后按照以下步骤操作。

Right click on your project go to Team --> Share Project --> Select Repository type. Do next fill in required information 右键单击您的项目,转到Team --> Share Project --> Select Repository type. Do next fill in required information Team --> Share Project --> Select Repository type. Do next fill in required information and it should work. Team --> Share Project --> Select Repository type. Do next fill in required information ,它应该工作。

Make sure you have installed a subversion plugin for eclipse which is is compatible with the version you have for tortoise, ie the eclipse plugin you actually have - if any - is able to read the .svn meta data which was created by the tortoise client. 确保你已经为eclipse安装了一个subversion插件,它与你的乌龟版本兼容,即你实际拥有的eclipse插件 - 如果有的话 - 能够读取由乌龟客户端创建的.svn元数据。 This can happen for example if eclipse plugin is 1.6 and tortoise client is 1.7 or above. 例如,如果eclipse插件是1.6并且乌龟客户端是1.7或更高,则会发生这种情况。

When eclipse shows the ~50 projects deselect all and select only the one(s) you want to import, when passed a folder for importing an existing project, eclipse searches recursively for all folders containing a .project file and displays them as projects to be imported. 当eclipse显示~50个项目取消选择all并仅选择要导入的项目时,当传递用于导入现有项目的文件夹时,eclipse会递归搜索包含.project文件的所有文件夹,并将它们显示为项目进口。 Make a refresh (F5). 刷新(F5)。

EDIT 编辑

From http://tortoisesvn.net/tsvn_1.8_releasenotes.html#compatibility 来自http://tortoisesvn.net/tsvn_1.8_releasenotes.html#compatibility

Local Client Compatibility 本地客户兼容性

Subversion working copies are sometimes accessed using several different clients, eg TortoiseSVN, AnkhSVN, and the svn command line client. 有时使用几个不同的客户端访问Subversion工作副本,例如TortoiseSVN,AnkhSVN和svn命令行客户端。 Because the working copy format has changed with this release, 1.8 clients cannot access an earlier working copy without first upgrading it. 由于此版本的工作副本格式已更改,因此1.8客户端无法在未先升级的情况下访问较早的工作副本。 Pre-1.8 clients cannot access 1.8 working copies at all and there is no downgrade option 1.8之前的客户端根本无法访问1.8个工作副本,并且没有降级选项

Please upgrade your eclipse svn-kit to the latest version , use this update site . 请将您的eclipse svn-kit升级到最新版本 ,使用此更新站点

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM