Tortoise SVN插件获取Redmine的问题列表,Delphi插件
我下载了乌龟插件示例,但我不知道如何 在Delphi上实现。
我已成功编译 C# 示例,并在存储库上使用它,但是 我对 C# 一般开发的了解很差。 另一方面,我 不知道如何开始在 Delphi 中创建该插件,但之后 我想对我来说会很容易。
我想制作一个插件来集成Redmine问题列表。
像“你好世界”之类的东西会很棒!
这里有一些使用 C# 创建新插件的指南: http://svn.devjavu.com/ tracexplorer/trunk/ext/tortoisesvn.net/issue-tracker-plugins.txt http://tortoisesvn.tigris.org/ds/viewMessage。 dsForumId=757&dsMessageId=1113569
I downloaded tortoise plugin samples, but I don't know how to
implement it on Delphi.
I have successfully compile C# sample, and use it on a repository, but
my knowledge in C# for general development is poor. In other hande, I
don't know how to start creating that plugin in Delphi, but after that
I think would be easy for me.
I want to make a plugin to Redmine Issue List integration.
Something like "hello world" stuff would be great!
here some guide lines to do a new plugin using C#:
http://svn.devjavu.com/tracexplorer/trunk/ext/tortoisesvn.net/issue-tracker-plugins.txt
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=1113569
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
TSVN 插件 API 是基于 COM 的。 我首先学习如何在 Delphi 中实现 COM 对象。 有这本书。 我还发现了这个。
如果您已经知道如何在 Delphi 中实现 COM 对象,那么我很抱歉我居高临下。 您对 IBugTraqProvider 接口有任何疑问吗? 哦,IBugTraqProvider2 是 TSVN 1.6 的新增功能(即尚未发布)。
The TSVN plugin API is COM-based. I'd start by learning how to implement a COM object in Delphi. There's this book. I also found this.
If you already know how to implement COM objects in Delphi, then I apologise for being condescending. Do you have any questions specifically about the IBugTraqProvider interface? Oh, and IBugTraqProvider2 is new to TSVN 1.6 (i.e. not released yet).
转到
您将需要接口声明。 Delphi直接支持*.tlb。 如果没有,则必须将 *.idl 转换为 pascal 接口声明。 这比听起来容易。
请注意,接口声明可能位于 SVN 主干中的某个位置。
您需要声明您的新 COM 对象实现 IBugTraqProvider 接口,并根据需要实现它。
完成后,您可能需要向 TortoiseSVN 注册新的 COM 库。
Go to
You will need interface declaration. Delphi supports *.tlb directly. If there is none than you must translate *.idl to pascal interface declaration. That is easier than it sounds.
Note that interface declarations are probably somewhere in SVN trunk.
You than need to declare that your new COM object implements IBugTraqProvider interface, and implement it as you need.
When you are done, you probably need to register your new COM library with TortoiseSVN.
您可以在此页面查看功能性 C# 插件:
http://www.redmine.org/boards/3/topics/5420
You can see at this page for a fonctionnal C# plugin :
http://www.redmine.org/boards/3/topics/5420