Netbeans 从哪里获取存储库位置? (SVN)

发布于 2025-01-04 12:42:59 字数 540 浏览 1 评论 0原文

我创建了一个新项目,然后单击“导入到 Subversion 存储库”,但我在初始设置时遇到了问题,所以我决定重新开始。

为此,我使用 SVN 浏览了本地存储库,删除了使用上述命令(来自 Netbeans)创建的存储库,现在该存储库完全消失了。

好吧,然后我删除了 Netbeans 中的项目,并创建了一个具有相同文件夹名称/结构的新项目。我原本希望启用“导入到 Subversion 存储库”选项(因为这是一个新项目),但不知何故 Netbeans 会记住第一次尝试中的内容并且没有启用该选项,它会显示所有选项,如存储库存在于 SVN 中。

如果我右键单击并选择 Diff 或 Show Changes,那么我可以看到 Netbeans 在“存储库位置”部分中显示原始文件夹,但是该信息来自哪里(因为我使用 Tortoise 从 SVN 存储库中删除了该文件夹)?

如何删除 Netbeans 拥有的所有信息并重新开始?我在我的项目中寻找 .svn 文件夹,但什么也没有!如前所述,我删除了整个项目并重新开始,但 Netbeans 仍然记得一些不正确的事情!

非常感谢您的任何提示...

I created a new project, then I clicked on "Import to Subversion repository" but I had problems with the initial set up so I decided to start again.

For that, I browsed my local repository with SVN, deleted the repository that was created with the command above (from Netbeans) and now that repository is totally gone.

Well, I then deleted my project in Netbeans and created a new one with the same folders name/structure. I was expecting to have that "Import to Subversion repository" option enabled (as this was a new fresh project) but somehow Netbeans remembers things from the 1st attempt and doesn't have that option enabled, it displays all the options, as in the repository existed in SVN.

If I right click and choose Diff or Show Changes, then I can see the Netbeans displays the original folders in the "Repository Location" section, but where is that information coming from (as I deleted that folder from the SVN repository with Tortoise)?

And how can I delete all the information Netbeans has and start again? I was looking for a .svn folder in my project but there's nothing! As said, I deleted the whole project and started again but Netbeans still remembers things, that are not correct!

Many thanks for any tip...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

淡水深流 2025-01-11 12:42:59

在您最初删除项目后,该项目的 NetBeans 元数据可能仍然存在。当您创建第一个项目时,您是否选择将元数据存储在其他位置或项目目录中?我也遇到过类似的问题,我将其存储在另一个位置(例如〜/Documents/Programming/NetBeansProjects/),并且当我删除项目以重新开始时它没有被删除。我会检查您的项目元数据的存储位置,并确保在您删除项目本身时将其删除。另请确保在删除项目文件时也删除 .SVN 文件夹(如果您不删除根文件夹,而仅删除其内容)。希望这有帮助。

It's possible that the NetBeans metadata for the project is still hanging around after you deleted the project initially. When you created the first project did you select to store the metadata in another location or in the project directory? I've had similar problems where I stored it in another location (e.g. ~/Documents/Programming/NetBeansProjects/) and it did not get deleted when I deleted the project to start over. I'd check where your project metadata is being stored and make sure it is getting deleted when you delete the project itself. Also make sure that when you delete the project files you delete the .SVN folder as well (if you are not deleting the root folder, and just its contents). Hope this helps.

何以心动 2025-01-11 12:42:59

很棒的提示,谢谢克雷恩!可以通过在资源管理器栏 (Windows 10) 中输入 %localappdata% 并按 Enter 键来找到元数据。应该有一个 netbeans 文件夹,删除 svncache 文件夹对我来说就成功了。

Great tip, thanks Craine! The metadata can be found by entering %localappdata% into the explorer bar (Windows 10) and hitting enter. There should be a netbeans folder, and deleting the svncache folder did the trick for me.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文