开发者

how to read svn revision numbers from eclipse plugin

开发者 https://www.devze.com 2023-02-14 11:24 出处:网络
Hy, I\'m trying to create a eclipse plugin that needs to see if version control is used and the 开发者_Python百科version of a file.

Hy,

I'm trying to create a eclipse plugin that needs to see if version control is used and the 开发者_Python百科version of a file.

I have noticed the .svn folders when svn is used, with informations about the files, but I think there has to be a better way then trying to read them manually.

Any ideas ?


There is already a Subversion plugin for Eclipse that can give you this information. (Actually there are two, Subclipse and Subversive.) You could install those and retrieve the information from the plugin or just use the JavaHL library (The Java bindings for Subversion.) to retrieve the information programmatically.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号