VSS Plugin version 1.6.2 for Eclipse 3.3

http://www.blogjava.net/rosen/archive/2007/10/26/156286.html 

匹配1.5版本 org.vssplugin_1.5.0

 

前言(译者)

 

就个人的成长历程来说,刚参加工作用的是 CVS ,前前后后有接近三年的使用体验,从今年开始使用 SVN 。总的来说我更喜欢 SVN ,用起来的确很方便,例如在本地源代码文件中加一个空格然后删除, SVN 不会认为该代码文件有任何改变,而 CVS 就不会这么聪明了(不知是不是本人尚未搞懂 CVS ,汗 ~ )。

 

手上有个大型分布式项目,由于客户端牵涉到 C# 编程,询问了公司 .NET 达人,被告知 VS 可以连 SVN ,但是配置步骤复杂。我是个极其讨厌复杂的人(鬼子的 YEC 项目把我郁闷了),二话不说决定就此采用 VSS ,并为 Eclipse 配置 VSS 插件!

 

Google 之后发现了 VSS Plugin项目 ,按照首页的介绍配置了一下,还挺好用的。尽管进行了简单配置,但毕竟是英文,没有母语看起来方便,同时也是为了公司其他同事,我决定翻译成中文。

 

VSS Plugin version 1.6.2 for Eclipse 3.3

 

本团队提供了这个 Eclipse IDE 插件,该插件能把 VSS 操作集成到 Eclipse IDE 3.3 (Europa) 版本中。如果你愿意捐款可以在下面找到详细信息。

 

最后修改日: 2007-09-09

 

 


1
开始

 

本插件能运行在 Eclipse 3.3 SDK RCx 和最新的 Eclipse 3.3 SDK 。它能让用户在 Eclipse IDE 中执行 Microsoft Visual SourceSafe (VSS) 操作。 VSS Plugin 之前一直都支持旧版本的 Eclipse ,但是现在的 1.6.2 版本已经放弃这种做法,如果你的环境和 Eclipse 3.3 不兼容,那么请选择旧版本的 VSS Plugin

 

1.1 先决条件

 

          运行在 Windows 98/ME/2000/XP 上的 Eclipse 3.3 SDK (Europa 版本 ) 。请注意这里需要完整的 SDK 版本。

          一个得到授权和功能完整的 Microsoft Visual SourceSafe 6.0 客户端,并最好升级到目前最新的 SP6 服务包。更具体的信息请参考 http://msdn.microsoft.com/ssafe/ 很重要的一点是必须明白  Eclipse VSS 插件不能提供你 Microsoft Visual SourceSafe 拷贝以及任何的授权。这个插件的操作是基于 Microsoft Visual SourceSafe 的。

          该插件已经过英文版的 VSS 测试,也应该可以运行在其他语言版本的 VSS 上,但可能要进行些调整,更多信息请参考 org/vssplugin/messages.properties 。当前版本的插件使用 VSS Ole Automation API 进行集成。

 

1.2 安装

 

     1.  http://sourceforge.net/projects/vssplugin/ 下载最新版本。请注意如果你用的是 WSAD 5.xEclipse 2.0 可以下载旧版本的插件,这种做法同样适合于 Eclipse 3.0

     2.  解压缩 zip 包放入 eclipseplugin 文件夹,同时要确保旧版本的插件已经被卸载。

     3.  重启 Eclipse IDE

     4.  可以这样来检查插件是否在运行 Help->About Eclipse Platform->Plug in Details ,上下拖拉列表就能发现插件是否在其中。

     5.  除了上面介绍的以外,我还推荐启用 Label Decorator 功能,这是在默认情况下是没有的。

 

1.3 捐款

 

我有一个 paypal 账户来接受捐款,如果你喜欢这个插件并愿意捐款请使用 paypal 。 
 (请参考http://vssplugin.sourceforge.net/提供的捐款信息。)

 

1.4 在主要的版本 (1.6.0) 更新中有什么新特性?

 

          Compare Dialog 进行了更新:可以让用户来选择是否显示注释、展开树 / 收缩树、标签是否显示。所有的操作都在上下文菜单( RosenJiang 注:就是在视图中点击右键所出现的菜单)中。


 

          更新了 Team Project Set Import/Export

          支持 3.1 RCx

          支持 online/offline 模式,当 VSS 资源库在离线模式不允许任何 VSS 操作,这种模式适合于在配置插件和无需访问 VSS 资源库的时候。




          Check Out 视图中支持 error/warning 修饰。


 

          增加了对 checkout 注释的支持,这一特性受参数选择 (preference) 页的 separate 选项控制。

          增加了对 VSS Refresh Log 视图的支持,该视图展示了在执行 RefreshUpdate StateGet Latest version 操作的时候哪些文件被添加、删除或修改了。


      
 

          comparereplace 视图中,数据显示更加合理(检入时间、由谁提交、版本)。


 

          增加了 VSS Info 页对共享的支持,现在可以查看是否有文件被共享,以及 VSS 共享路径。

 

1.5 开始上手

 

VSS Plugin 运行在以 Eclipse 为基础的环境中。在 workspace 中的每个项目都可以独立和统一挂载到某个 VSS 资源库。如果你想挂载到不同的资源库,那么这些项目应该是相互独立的。

 

每个项目在本地 workspaceVSS 之间都有一个或多个地址映射。基于这种情况,插件需要至少一个映射以便进行操作。例如:在 workspace 有一个源代码目录 /java/src ,在 VSS 中所有 /java/src 下的文件都应该被映射到 $/project-x/java/src ,那么这就是一个从 /java/src$/project-x/java/src 的映射。当然也可以使用 / 映射 $/ ,但这是很少见的例子。

 

如果需要可增加多个映射。插件将采用“ best mapping ”策略递归最长的路径。

例如有三个映射:

    /src/java => $/project-x/src/java

    /src/jsp => $/project-x/webapp

/src => $/project-x/other

 

结果:

    /src/java/x/y/Test.java => $/project-x/src/java/x/y/Test.java

    /src/java/Test.java => $/project-x/src/java/Test.java

    /src/jsp/test.jsp => $/project-x/webapp/test.jsp

    /src/test.jsp => $/project-x/other/test.jsp

/test.jsp => 该文件不受插件管理。

 

如何激活插件?

 

1.  为你的项目配置团队提供者。在某个 Eclipse 项目上点击右键调出上下文菜单,接着选择 Team->Share Project ,接着将调出选择资源库的向导对话框。

2.  选择 VSS Configuration Wizard 并进行适当的设置。“ next ”按钮将带领你进行映射配置,如果你只需要一个映射,请点击“ finish ”。

        Username 是用于进行 VSS 资源库认证的用户名。

        Password 是与之相应的密码,可以为空。

        VSS directoryVSS 资源库保存 srcsafe.ini 文件的完整的绝对路径。接着追加第一个映射。

        Source dirEclipse 中项目的路径,是进行所有操作的根目录。例如你在 Eclipse 中的项目使用 /src 作为保存所有源码的根目录,那么你就要把那个目录选择到这里。这必须是有效的 Eclipse 项目目录路径。

        Relative mount pointVSS 项目(路经),是在 VSS 资源库中进行所有操作的根。如果你想把源代码放在 VSS 项目 $/web-application 中,那么该路径就是 relative mount point 。这必须是有效的 VSS 项目路径。

3.  现在你的项目已经被配置为使用 VSS 插件了。

4.  如果你对某个项目点击右键并从上下文菜单中选择 Team ,那么附加功能就都可以用了。另外,上下文菜单选项非常依赖当前这个文件的状态。一小点问题就可能导致某个选项不能用,如果遇到这样的问题最好是尝试刷新一下,找出问题所在。在插件中出现的所有错误都能在 你的 workspace”\.metadata\.log 下找到。

        Refresh ,通常是进行一次完整的 Get Latest Version 然后再查询 VSS 资源库每个文件的状态( checked outexisting 等等 )。当需要的时候,你可以用 VSS Plugin 的这个功能来完整的获取所有文件的当前状态。由于要单独查询每个文件,这将非常耗时。

        Get Latest Version ,从 VSS 资源库获取最新版本。如果一个可写的文件拷贝存在,那么在使用这个功能的时候用户将会被询问是否可以覆盖本地拷贝,如果有编辑器正开着这些文件,那么都会被恢复。

        Update Status ,类似于 Refresh 功能,但不会进行“ Get Latest Version ”操作,这是一种更快速的轻量级操作。从 1.3 版本开始本插件支持通过后台低优先权线程更新状态,你可以在参数选择中启用。

        Check Out ,从资源库中检出文件。如果一个可写的文件拷贝存在,那么在使用这个功能的时候用户将会被询问是否可以覆盖本地拷贝,如果有编辑器正开着这些文件,那么都会被恢复。

        Check In ,检查哪些文件被修改了并提交到 VSS 资源库。在 Check In 执行之前会提示用户保存在编辑器中开着的文件。

        Undo Checkout ,在资源库中释放文件。如果文件有改变,用户将得到提示,最后回到检出之前的状态。所有编辑器也会在撤销之后恢复到原来的内容。

        Commit Changes ,提交所有本地文件并检入当前已经检出的文件。用户将会被提示哪些文件应该被选出来追加到资源库。

        Synchronize with Repository ,调出平台同步视图来显示所有本地文件、文件夹与 VSS 资源库的差别。仅有 addeddeletedchanged 资源才会在视图中显示。本地将要追加的文件会以 + (加号)显示而需要从资源库删除的文件会以 - (减号)显示。

        Add to VSS ,追加本地文件到 VSS 资源库中。

        Delete from VSS ,从 VSS 资源库删除一个已经存在的文件,同时也会删除本地拷贝。

        Deconfigure VSS ,这个选项仅仅对项目根目录有效,这个操作会把该项目的 VSS Plugin 功能移除。在配置被移除后需要关闭项目并重新打开以便刷新视图。

 

怎样查看 / 编辑插件设置或配置映射?

 

要查看插件设置需要在项目根目录的上下文菜单中选择 properties 选项并选择 VSS ConfigurationVSS Mappings 项进行查看。对项目中每个资源都可以检查其状态,例如它是否被映射等等。这些信息可以在上下文菜单 ->properties->VSS Info 中找到。

如何让 scc 文件不要在导航视图中显示?

 

你可以在视图右上角的过滤菜单中屏蔽掉。

 

怎样支持多重检出?

 

要使用多重检出就必须在该项目的选项中激活它。

 

怎样使每个文件 / 文件夹的状态都能在项目中显示?

 

可以通过这样的手段来设置工作台参数 (workbench preference )。 Window -> Preferences -> Workbench -> Label Decorations -> 然后激活 VSS Plug in Team Decorator 复选框。

        当检测到每个文件 / 文件夹已经存在于 VSS 资源库时将显示一个小 ”database” 图标。

        当检测到某些文件被检出了就会有检出标识出现在文件名之后。

        当检查到某些文件被当前用户检出将会显示一个小 ”checked” 图标。

        如果检测到某些文件状态是未知的也会显示一个小图标直到刷新完成。

        被映射的文件夹将有一个小图标显示映射的根在哪里。

        当本地并不知道文件是否为最新版本时将显示小图标( *-icon (asterix) )。

Team Decorator 是很有用的,但是它也需要消耗额外的 CPU 资源,并将减缓 IDE 启动的启动速度,尤其在树形视图中有很多文件的时候。

 

还有其他的参数选择么?

 

更多的参数可以在 Window -> Preferences -> Team -> VSS 中找到。当 Show number of checked out files in each folder 复选框被激活,会在文件夹名 / 包名的后面显示检出的数目。当不激活 Always assume recursive refresh/get latest version on folders 复选框,在这个文件夹执行刷新 / 获取最新版本的时候会反复弹出对话框让用户确认。

怎样使快捷键有效?

 

通过 Window -> Customize Perspective -> Other -> 选中 VSS Plugin menu and shortcut keys 复选框这种方式来使快捷键有效。

快捷键的动作是调用当前活动编辑器,而当没有活动的编辑器时则调用当前选项。如果是为某些小改动而需要进行频繁的检出 / 检入,以这种方式浏览代码是非常好的。

 

这里有些已知问题,当菜单在任何编辑器活动 / 不活动之前启动或在某些菜单选项还未开始工作时就调用它们将导致意想不到的错误。

 

下面是当前版本所支持的键:

   Ctrl+Alt+U -> Undo Check Out

   Ctrl+Alt+I -> Check In

   Ctrl+Alt+O -> Check Out

   Ctrl+Alt+R -> Refresh

   Ctrl+Alt+A -> Add

 

快捷键不工作了怎么办?

 

这个问题可能是由于键绑定时和 Eclipse 平台冲突。也可能是由于其他插件已经用了这些快捷键。你可以通过修改 plugin.xml 文件来解决遇到的问题。可以在该文件的最下面参考操作步骤。

 

有些文件会被 VSS 插件忽略,如何解决呢?

 

插件目前把格式为 *.class*.scc.project.classpath 的文件认为是可以忽略的资源。如果要激活这些忽略的文件应该通过 Window -> Preferences -> Team -> Ignored Resources 进行设置。

 

有视图可以查看所有已检出的文件么?

 

有的,这个视图可以通过 Window => Show View => Other => VSS => Checked Out Files 激活。对项目进行一次完整的刷新就能找到当前所有检出的文件。可以使用过滤器实现屏蔽其他用户的检出文件,另外还可以使用排序进行查看。

我做了操作后发现没什么反应怎么办?

 

可以在 你的工作区 ”\.metadata\.log 找到 Eclipse 的日志文件查看任何异常并根据这些异常写个 bug 报告。

 

可以在 VSS 中移动并重命名文件么?

 

在工作区中所有的重命名、删除和移动操作都会被 VSS 插件截获。在对 VSS 资源库执行这些操作之前将提示用户。要注意这个问题,在两个文件夹之间移动一个文件文件其实就是在目标文件夹添加新文件并从源文件夹删除旧文件,这样一来所有的 VSS 历史信息都将丢失。这是 VSS 的限制,只有在项目移动的时候才支持而并非文件,就不要问我为什么会这样了。

 

我可以导入 / 导出所有的 VSS 项目设置么?

 

使用 Eclipse 平台的 Team Import/Export 功能,项目已经被配置为 VSS 支持,所以所有的映射、资源库路径等都可以导出来。

 

在导入时,如果你有项目描述文件( .project, .classpath )存储在 VSS 中并相应的映射到了项目根目录,那么导入功能将询问是否使用已有的项目描述文件或新建一个项目。

 

我推荐你使用 Eclipse Project Set Editor 插件,现在这个编辑器也支持 VSS 插件,感谢 Martin ZviegerDirk Baumann 提供了这个插件。

 

有办法可以比较本地文件和资源库文件之间的差别么?

 

同步视图( Synchronize View

 

新的资源库同步操作将调用 Eclipse 平台的同步视图,显示所有的本地文件 / 文件夹和 VSS 资源库文件 / 文件夹之间的差别。只有被添加 / 删除 / 修改的资源才会显示在这个视图中。本地需要添加进资源库的文件会显示一个 +( 加号 ) 符号,而需要从资源库删除的文件会显示一个 -( 减号 ) 符号。利用 Commit Changes 动作可以很方便的把你的改变提交到 VSS 资源库,当然这是很基本的功能,但我发现它很有用。

 

Commit Changes 动作尝试添加所有本地文件并检入所有已经检出的文件,在这期间用户将会被提示选择应该添加哪些文件。最后可以很方便的提交所有改变到 VSS 资源库了。

Compare/Merge Viewers (比较 / 融合视图)

 

要比较单一文件,你应该使用比较视图,就是菜单的 Comapre With 选项。这将打开一个完整的对话框显示本地和资源库文件之间不同的地方。



 
而在菜单中选择融合操作将显示融合视图,有点像比较视图,但不同的是视图左边的窗口是可以编辑的。

 

用户可以选择是否显示注释,展开树 / 收缩树,是否显示标签。所有的动作都能在上下菜单中显示。



 

求助!有些地方看起来不对,视图没有正确显示,上下文菜单也没显示,又出现一些 COM 错误。

 

如果出现了这些问题,很有可能是出现了未知错误或把一些主要的配置弄错了。你可以尝试移除 .project 中的 <nature>org.vssplugin.core.VSSPluginProvider</nature> 并重启 Eclipse 来屏蔽 VSS 插件。然后再重新配置。

 

另外有可能是你安装 VSS 的地方遭到破坏。通常你看到 COMException 或注册 GUID(registry-GUID) ,说明安装 VSS 的地方遭到破坏。安装最新的服务包应该可以解决这些问题。可以从 http://msdn.microsoft.com/ssafe/ 了解更多信息。

 

另外,可以在 你的工作区 ”\.metadata\.log 找到 Eclipse 的日志文件。

 

这个插件似乎不能运行在 WSAD 5.1 中。

 

因为 WSAD 5.1 是基于 Eclipse2.1 的,所以不被支持。可以用兼容 2.0 的插件来代替。

 

The Eclipse log-file located at "your workspace"\.metadata\.log.

The plugin does not seem to work with WSAD 5.1.

Since WSAD 5.1 is based on Eclipse 2.1 it is not supported. Use the older 2.0-compabillity release intead.

2. Known problems

  • The menu and shortcut key support enablement/disablement is not correctly updated until first invocation or editor change.
  • After moving a file and and error occures an extra read-only dialog is shown. This dialog comes from inside eclipse and I can't right now find a way to get rid of it.
  • See todo list.

3. Changes To Previous Versions

3.1. Changes in Version 0.8

  • Initial release. 

3.2. Changes in Version 0.9

  • Added support for recursive Undo Checkout and Check-in operations. 
  • Added support for prompting for save of dirty editors on check in.
  • Added support for revert all dirty editors after undo checkout 
  • Added menu and shortcut keys support via ActionSet
  • Some requested bugfixes
  • Fixed support for UNDO Checkout with a saved changed editor.
  • Added support for removing all stored states, when a project is deconfigured
  • Added support for automatic update of the view after a configuration removal 

3.3. Changes in Version 0.9.1

  • VSS usernames with spaces in are now supported.
  • Added filter for .scc files in package explorer. Acknowledgment to Thomas Kelch for providing this feature.
  • Bug for jdk 1.3 resolved
  • Separate bin and src distributions. 

3.4. Changes in Version 0.9.2

  • Added support for better error handling and integration with the SS.exe. Ask question instead of showing error.
        - Undo Check out when thr local files has changed.
        - Undo Check out File not checked out from this project 
        - Check out to a already writable copy.
        - Get Latest Version to a already writable copy.
        - Check in: File not checked out from this project
  • Add support for Yes TO ALL and NO TO ALL options in dialog
  • Some other bugfixes
  • Added caching of overlay images in LabelDecorator for better performance.
  • Introduced new state for files with unknown state. Used for decoration. If a file/folder does not have a known state a small ? icon is shown, until a manuall refresh is done. This gives much better startup performance when a full refresh hasn't been done.
  • Fixed better progress monitor feedback.
  • Added workaround for problem with SS.EXE Status output, not having the same output format for all users.
  • Support for IMoveDeleteHook hook in the eclipse platform. This function is still in beta and needs more testing. When a delete, rename or move is issued on a VSS controlled project the user is asked if the corresponding action should be executed within the VSS.
  • Support for removing all stored states, when a project is removed or a file is removed from the local file system.
  • The need for -consoleLog command line option removed when running with JRE 1.4.0_01.
  • Last set SS.EXE-path, username and password settings saved in the configuration wizard.
  • When only one file is selected for an action a busy cursor is used instead of the progress bar indicator.
  • Added support for changing configuration settings. 
  • Addressed problem with package explorer not showing status updates correctly. Although it seem like only the status of java files can be correctly updated. All other files are ignored by the package exporer.
  • Removed dirty state for so long.

3.5. Changes in Version 1.0 beta

  • Some minor bugfixes.
  • I've added a confirm box to Delete, Check Out, Check In and Undo Check Out when more than 10 files are affected.
  • Fixed errormessage when setting up the VSS settings for a project and the .project file is read-only.
  • Moved configuration settings to xml-file found in .metadata\.plugins\org.vssplugin\dialog_settings.xml. The old settings should be automatically converted to the new format on the first startup.
  • Add support for better local folder VSS project mapping management, not only one folder but several different mappings. Acknowledgement to Brian Ciccolo for inspriation for this feature.
  • Show small arrow icon on folders with mapping.
  • Added VSS Info property page.
  • Changed patterns added to ignored resources to be enabled by default.
  • Added preferencepage for the plugin and added some requested features to it.
       - Number of checked out files on a folder/package.
       - Refresh/get latest version/check in/check out/undo check out on folder the user should be able to select if the operation should be recursive or not.
  • Hide password in configuration dialog.

3.6. Changes in Version 1.0

  • Some minor bugfixes.
  • Support for comment on checkin
  • Added support for issue 610984 (rename checked out files)
  • Added support for password issue 609977, 609993
  • Added support using CVS at the same time as VSS. Bug 610464
  • Fixed bug 610520
  • Setup.exe distribution. Acknowledgement to Lennart Benoot for providing the NSIS-script for creating the installer.

3.7. Changes in Version 1.1 (Never Released)

  • Full rewrite the VSS integration stuff to use VSS OLE Automation API instead of via SS.EXE. Major performance improvements.
  • Comment on add
  • Comment template for both add and check-in
  • Handle permissions in VSS, for example a user with read-only cannot do a check out
  • Added support for export/import team project sets. This feature is used to export all VSS configuration settings to a file, which then can be imported. For example on another Eclipse instance. The function is found under Right click context Menu -> Export -> Team Project Sets. Currently unconfigured projects with the same name as in the export can be imported. An existing configuration can never be overwritten.
  • Automatic checkout file on try to edit, like refactorings and so on.
  • Automatic removal of files deleted from the VSS Database during operations.
  • Automatic creation of non existent sub-directories on add
  • Ask user before automatic removal

3.8. Changes in Version 1.2

  • Canceling a checkin does not seem to work fixed.
  • Discovering no configuration for the given project reset sharing settings for this project and open it as an unshared project.
  • Warning given when ss.ini is unreadable or database is corrupt.
  • Execute and view of diff with VSS from within eclipse (on a per file basis). Early version (exprimental).
  • Get Latest of a label
  • Moved almost all user-strings into the Policy-file. For translations in other languages.
  • Changed key-mappings From Ctrl-Shift to Ctrl-Alt for better integration with the M4 release.
  • Added small * icon showing that the local file is not known as the latest version.
  • When adding comments doing a check-in file, it should possible to add comments to a standard list. This standard list can be chosen from when commenting a file on checkin.

3.9. Changes in Version 1.2.1

  • Fixed bug 668589, Context menu very slow on large project
  • Fixed bug 669437, Compare in v1.2 does not compare with latest
  • Fixed bug 669183, VSS project config wizard needs window title
  • Fixed bug 669179, VSS preference page too big
  • Plus some additional bug-fixes.
  • Added View of Checked Out Files with sorting, filters and context menu. The view is found under Window => Show View => Other => VSS => Checked Out Files.

3.10. Changes in Version 1.3

  • Added support for "Replace With" under "VSS version..."-dialog. Makes it possible to load back an old version of a specific file and not only through the label as is is in the "Team" menu.
  • Changed drawing order of overlay icons in the LabelDecorator after recommendation from the Eclipse Team.
  • Fixed some JDK 1.3 issues.
  • Added update status action, which updates the state of a resource without retrieving the latest version.
  • Shortcut key confirmation, on undo checkout. Enable it using the preference page.
  • Added Replace with VSS Version and Compare to Latest VSS Version.
  • Added context menu to compare dialog, supports "Get Version" and "Compare to Local"
  • Support for a low priority background thread updating resource statuses.
  • Moved flush status operation to end of WorkspaceModifyOperation
  • Added Merge Action
  • Some additional bugfixes. Got one fix from the Eclipse Team. The Eclipse M5-release the Find dialog does not expect a file to be writeable.
  • Handle multiple checkouts in VSS. Can be enabled for each project in the configure project settings. The support should be considered beta. All Ideas for enhancement are welcome.
  • Merge a local-version with a VSS-version

3.11. Changes in Version 1.4

  • Finally fixed status updates of decorations in views to work better and faster.
  • A Simple VSS Tree View.. Don't really see the need for it, but it's a start.
  • Bugfix of "same comment" function not working as supposed.
  • Changed comment dialog. Cancel button now works as supposed.
  • Added new feature for synchronizing/Comparing whole trees, with the Synchronize view. It's still in the early stage but I find it very usefull.
  • Added support for VSS Plugin to editor context menu in Text and Java-editor.
  • Some internal refactorings for the code.

3.12. Changes in Version 1.4.1

  • Change so that the background updater thread, never modifies the workspace, which enables us to run without the workspace lock. It should have the effect that while running it does not lock out other workspace operations.
  • Support for [ 706811 ] Check in: leave last comment
  • Support for 700924 Selectable labels in VSS Info property pane
  • Changed to that Get Latest Version follows the same scheme for enablement as the Refresh operation
  • Improved the import/export Team Project Set. Added the possibility to create a new project when importing a Team Project Set. If a .project and a .classpath is found in the VSS-Database the project is created and is fully refreshed. Thanks to Lev Gimelfarb for providing this feature.
  • Fixed issue that the username and password are exported by default in Team Project Sets. The user is now prompted when exporting if the username should be included in the export. If no username is supplied during and import the user is asked to supply the username and/or password.

3.13. Changes in Version 1.5

  • Fixed: [ 729609 ] resouceNotExists.message: refactoring packages
  • Fixed: [ 731228 ] Problems with removing mappings
  • Fixed: [ 731229 ] Decorators remain after deconfiguring
  • Fixed: [ 738713 ] Rename package name => doesn't check out correctly
  • Some other bugs
  • Support for setting a configued VSS project as offline/online. Setting it to offline means that no actions can be executed. This is good for working with a configured project and not having the VSS database online. The current support does not keep track of which files that has been deleted, moved and so on.
  • Support for Label decorations in the VSS Checkout view, both system vide decorations and problem marker decorations through jdt.ui.ProblemDecorator. Fixes [ 755294 ] no decorators on checked out files view
  • Added support for VSS Refresh Log view. The view shows which files tha are added, deleted and updated when executing any of the Refresh/Update State/Get Latest version-actions.
  • Support for plugin to ask to unset the read-only flag if the file is read-only, when trying to do an edit. Also added actions for this when using the plugin in offline-mode.
  • Changed COM-bridge version to 20030227, for IEnumVariant support. This enabled better vss-data in several views.
  • Added support for check-out on save-calls used from the CompareViewer. Now it possible to compare two files edit the contents and on save the user will be asked for check-out if necessary.
  • Added support for VSS comments during a rename operation (if the file is checked out). Patch provided by Simon Lieschke.
  • Added support for "Check In/add/Commit"-dialog allows you to keep the file(s) checked out locally after the add/check-in operation.
  • Added support for comments for checkouts. The feature is controlled by a separate option in the preference page.
  • Added support on VSS Info page for shares. Now one can see if a file is shared and which shared vss paths it has.

3.14. Changes in Version 1.5.1

  • Added support for german translations. Acknowlegement to Marc Pompl for providing the translations.

3.15. Changes in Version 1.5.2

  • Dropped support for Eclipse version 2.0 and 2.1.
  • Added compare with latest to editor menus and window menu.
  • Fix to address the problem with open editors not always replacing it's contents after the files had changed on disk (after check-in, check out, get latest..)
  • The Compare/Replace/Merge dialog is not modal any more.
  • Only 3.0 M6 release or later. Added support for QuuickDiff provider.
  • Only 3.0 M6 release or later. Added support for the New Synchronize View.

3.16. Changes in Version 1.6

  • Performance update for Checked out files view during updates.
  • Dropped Jawin as COM-bridge. Use SWT's internal support instead.
  • 3.0 RC2 Support
  • Several bugfixes

3.17. Changes in Version 1.6.1

  • Some updates in the Compare Dialog. No the user can select if comments should show, expand/collapse tree, select if labels should show. All actions available from the context menu.
  • 3.1 RCx Support
  • Some bugfixes
  • Some updates in the Team Project Set Import/Export

3.18. Changes in Version 1.6.2

  • 3.3 Support
  • New extension hooks for various vss commands, provided by Michal Hlavac and Filip Vanek. This enables the possibility to add your own extensions to the plugin, by implementing IVSSCommandsHook and adding extension points from schema/vssCommandsHook.exsd in your plugin.




请注意!引用、转贴本文应注明原译者:RosenJiang 以及出处:http://www.blogjava.net/rosen

 

posted on 2007-10-26 23:43 Rosen 阅读(4955) 评论(7)  
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值