[英]Eclipse is not showing any projects from my workspace folder even the projects are there?
We are using subclips as a SVN client for our Eclipse and I have successfully checked-out the list of projects to 'C:\\workspace\\myprojects' folder then I have opened the eclipse and given the workspace location as 'C:\\workspace\\myprojects' but it's not showing any projects even there are projects, Why? 我们使用子剪辑作为Eclipse的SVN客户端,我已成功检出项目列表到'C:\\ workspace \\ myprojects'文件夹然后我打开了eclipse并将工作空间位置设为'C:\\ workspace \\ myprojects'但即使有项目也没有显示任何项目,为什么?
So I have imported all the projects one by one through the eclipse feature and now i can able to see the projects but my question why should i need to import even i have given the eclipse workspace folder as 'C:\\workspace\\myprojects'? 所以我通过eclipse功能逐个导入所有项目,现在我可以看到项目,但我的问题为什么我需要导入,即使我已经将eclipse工作区文件夹作为'C:\\ workspace \\ myprojects'?
NOTE: But the sampe scenario is working fine in others machine, ie they no need to import all the projects one by one when they have given the Eclipse workspace folder as 'C:\\workspace\\myprojects'. 注意:但是sampe场景在其他机器上工作正常,即当他们将Eclipse工作区文件夹作为“C:\\ workspace \\ myprojects”时,他们不需要逐个导入所有项目。
Regards, Baji 问候,巴吉
Eclipse uses the metadata to determine which projects are in the workspace. Eclipse使用元数据来确定工作区中的项目。 So you have to import the projects into the workspace even though they already reside in the same directory in the filesystem. 因此,您必须将项目导入工作区,即使它们已驻留在文件系统的同一目录中。 Just call File / Import / Existing Projects from the filesystem and select the projects that are already there. 只需从文件系统调用文件/导入/现有项目,然后选择已存在的项目。 It's a pain, but it works. 这是一种痛苦,但它确实有效。
Just because you have a project inside the workspace directory doesn't mean Eclipse opens it or even sees it automatically. 仅仅因为你在工作区目录中有一个项目并不意味着Eclipse打开它甚至自动看到它。 You must use File - Import - General - Import existing project into workspace to have your project in Eclipse. 您必须使用文件 - 导入 - 常规 - 将现有项目导入工作空间以使您的项目在Eclipse中。
Actually some of eclipse configuration file was deleted. 实际上一些eclipse配置文件被删除了。 hence it was not able to show. 因此它无法显示。
finally after reverting the it I can able to see all the projects. 最后在恢复之后,我能够看到所有的项目。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.