Netbeans 6.9 / 7.0 Subversion Checkout 不起作用?
从 svn 存储库导出 netbeans 项目时。它将存储库中的所有内容下载到我在默认情况下指定的文件夹中
我的文档/NetBeansProjects
目录,但它没有像预期的那样为项目创建 .svn 文件夹。 (它不会将项目置于颠覆控制之下)
这让我抓狂,因为我似乎无法在 Netbeans 中将我的任何工作置于颠覆控制之下。
我运行的是 Windows 7 x64。
编辑:
以下是我尝试从服务器存储库中检出项目所采取的步骤,以便我可以使用它并将其置于 netbeans v6.9 中的版本控制之下。
我去:
团队->Subversion->结帐...
在出现的 Checkout 对话框中,我输入存储库的 URL 和凭据,然后单击下一步按钮。
连接到存储库后,我选择“从存储库导出干净的目录树”复选框,
在本地文件夹输入中,我指定项目所在的路径。 “C:\Users\Mark\Documents\NetBeansProjects\MyProjectExample”
然后我单击“完成”按钮并获得我之前所述的结果。当我运行 netbeans 6.8 时,我相信我遵循了相同的步骤,没有任何问题,并且不,我不会切换回 6.8
When exporting a netbeans project from an svn repository. It downloads everything in the respository to the folder I've specified in the default
My Documents/NetBeansProjects
directory but it doesn't create the .svn folders for the project like it's supposed to. (It doesn't put the project under subversion control)
This has been drving me nuts because I can't seem to get any of my work under subversion control in Netbeans.
I'm running Windows 7 x64.
EDIT:
Here are the steps that I take to attempt to check-out a project from my servers repository so that I can work with it and keep it under version control in netbeans v6.9.
I go to:
Team->Subversion->Checkout...
In the Checkout dialog box that appears I enter my repository's URL and my credentials then click the next button.
Once it connects to the repository I select the checkbox "Export a clean directory tree from the repository"
In the Local Folder input I specify the path where I want my project to be. "C:\Users\Mark\Documents\NetBeansProjects\MyProjectExample"
Then I click the Finish button and get the result I stated previously. When I was running netbeans 6.8, I believe I followed the same steps without any issue and NO, I'm not going switch back to 6.8
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我刚刚遇到了同样的问题,我想只有在我的 Win 7 机器上。 (现在懒得在 Vista 上测试。)
我手动删除了目标目录,并尝试不指定“干净目录树”进行检查,这次下载了 .svn 文件。
I've just been getting the same problem, I think only on my Win 7 machine. (Too lazy to test on Vista right now.)
I deleted the target directory manually and tried checking out without specifying "clean directory tree", and this time the .svn files were downloaded.
从 Subversion 签出代码时选择“从存储库导出干净的目录树”将签出不包含 .svn 文件和文件夹的代码。如果没有这些文件和文件夹,您的代码将不受源代码控制。因此,请尝试导出,但这次不要选中“从存储库导出干净的目录树”复选框。
Selecting 'Export a clean directory tree from the repository' when checking out the code from Subversion will check out the code without the .svn files and folders. Without those files and folders, your code will not be under source control. So try exporting but this time do not select the 'Export a clean directory tree from the repository' checkbox.
SVN 中的导出意味着“内容”,而不是 SVN 结构。这与退房不同。如果您签出您的项目,您将看到 .svn 文件。
编辑:
为了更完整:
Exporting in SVN means 'the content', but not the SVN structure. It is not the same as checking-out. If you check-out your project, you will see the .svn files.
EDIT:
To be more complete: