共享项目时可以让 subclipse 创建文件夹结构吗?

发布于 2024-07-14 19:46:07 字数 451 浏览 5 评论 0原文

当在 Eclipse 中并且您决定使用 subclipse 共享 Subversion 存储库中的项目时,您可以让它以某种方式自动为该项目创建文件夹结构吗?

我想要的是每个共享项目都添加这种结构:

/Client/Project/branches /客户/项目/标签 /Client/Project/trunk/EclipseProject

其中 Client 是客户端的名称,Project 是实际项目的名称,EclipseProject 是 Eclipse 中存在的项目的名称。 此结构中可能有多个 EclipseProject,在这种情况下当然不必创建目录。

这可以通过 subclipse 来完成吗?还是我最好编写一个简单的 shell 脚本来完成此操作? 我的第一个想法是做一个 shell 脚本,因为我不介意使用终端,但我的一些同事确实不喜欢命令行界面,但喜欢 Subclipse。

When in eclipse and you decide to share a project in a subversion repository using subclipse, can you make it create a folder structure for that project automagically somehow?

What I want is for every shared project to add this kind of structure:

/Client/Project/branches
/Client/Project/tags
/Client/Project/trunk/EclipseProject

Where Client is the name of the client, Project is the name of the actual project and EclipseProject is the name of the project as it exists in Eclipse. There may be more than one EclipseProject in this structure, in which case of course the directories doesn't have to be created.

Is this possible to do with a subclipse or am I better off writing a simple shell-script to do this? My first thought was doing a shell script since I don't mind using the terminal, but some of my collegues really don't like command line interfaces but dig Subclipse.

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

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

发布评论

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

评论(1

花开半夏魅人心 2024-07-21 19:46:07

据我所知,你不能轻易地扩展 Subclipse 来使其生成这样的结构。

实际上,Subclipse 在深层结构的 GUI 表示方面存在问题,仅在最新版本 1.4.7(2008 年 12 月 5 日)中修复,因此尚未提供任何“模板结构”;)它们尝试正确表示现有文件夹树。

自动创建文件夹的唯一功能是“

就是这样。

As far as I know, you cannot easily extend Subclipse to make it generate such a structure.

Actually, Subclipse had an issue with the GUI representation of deep structures, only fixed in the latest version 1.4.7 (05 December 2008), so there are not yet to provide any "template structure" ;) They try to represent existing folder trees right.

The only feature which does automatically create folders would be the "Create any intermediate folders that are missing" checkbox to Branch/Tag dialog, to make any missing and required parent directories as part of the transaction during a mkdir/move/copy commands.

That's about it.

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