IntelliJ Community . AccuRevPlugin

 
AccuRevPlugin 

HOME INDEX SEARCH CHANGES GO  
I have written a plug in for IDEA to integrate it with AccuRev. This should fully support refractoring including renaming moving and deleting files. To use it you must be using build 650 of IDEA or higher. I have tested version 1.2 with Aurora build 1122.

To install: Put AccuRev.jar if you are runing version 3.0 of IDEA or AccuRev-Aurora.jar: if you are using build 1122 or higher in the plugins directory in your IDEA installation. Open the Your Project Properties dialog select VCS Support icon on the left bar. In the pull down on right select AccuRev. Tell it where your AccuRev.exe file is. It normally is in C:\Program Files\AccuRev\bin\accurev.exe but it depends on where you installed AccuRev. Tell it where the AccuRev project root is. Click the test button. If you get an error contact me. If not you are set to go.

Using the plugin: Once installed there will be an extra "AccuRev" sub menu in your tools menu and your right click popup menu.

Mark Project as Current - This tells IDEA that what is on your disk matches what AccuRev knows. The first thing you should do is make sure you have updated from AccuRev and kept all your changes then you should select this. All your files will change from orange to black.

Check In Project - This keeps/adds/moves/defuncts all the changes you have made. You will see a dialog that lets you see what is going to happen. and lets you add a comment.

Check In - lets you check in only the current file.

Show Diff... shows a diff of current file with the latest version in AccuRev. i.e the last kept version or backed if not kept.

Notes:

  • IDEA will now color code your changes so you can see what files and even what parts of the files have been changed since last check in project/ or mark as current.
  • Check in operations are logged in the AccuRev messages Tool window
  • All Check in operations are local to your workspace so you will still need to promote using AccuRev GUI.

Known issues:

  • If you modify a file that is not under source control (not in AccuRev) using IDEA it will try to send these modifications to AccuRev causing errors. To avoid this in the check in project dialog make sure there are no files that shouldn't be there (this is most common in the build output directory). click them then right click them and select "exclude from check in".
  • Only a working with a single AccuRev server is supported
  • Multiple renames and moves of same file have been known to cause problems. If you need to rename somting twice do a checkin project between keeps. It is always a good idea to keep often in any case.

Disclaimer: If this code works then I wrote it. If not I haven't a clue who did it. Although I have been testing it there are probably still some bugs. Please let me know if you have any problems requests etc.

-- JoeyEdelstein - 01 Oct 2002

Updated for Aurora 1122 And I hope fixed all the bugs caused by changes in the IntelliJ API Note that "Mark as current" in now on the AccuRev menu between Tools and Options -- JoeyEdelstein - 30 Jun 2004

Does this work satisfactory for IntelliJ 4.5 ?

IntelliJPluginWebForm
IntelliJPluginName: AccuRev
IntelliJPluginVersion: 1.2
IntelliJPluginVendor: Joey Edelstein
IntelliJPluginBinary: http://www.intellij.org/twiki/pub/Main/AccuRevPlugin/AccuRev-Aurora.jar
IntelliJPluginSource:
IntelliJPluginClassification: VcsIntegrations
TopicClassification: IntelliJPluginPackage
TopicShortDescription: VCS Integration for AccuRev
TestedOnOS: OsLinux, OsWin2K, OsWinXP
ShouldRunOnOS: AnyOS

Attachment: sort Action: Size: Date: Who: Comment:
AccuRev.jar action 45728 12 May 2003 - 21:25 JoeyEdelstein Version 1.03 for 3.0 builds
AccuRev-Aurora.jar action 45971 30 Jan 2004 - 15:25 JoeyEdelstein Updated for Aurora build 1122

e d i t a t t a c h r e f - b y d i f f s m o r e
Have ideas, requests, problems regarding this site? Send feedback.
Copyright © 2000-2003 by the contributing authors. All materials at intellij.org are the property of the contributing authors.