共享项目时可以让 subclipse 创建文件夹结构吗?
当在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
据我所知,你不能轻易地扩展 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.