Updating vcs plugin for Aurora

Hi!
I am trying to update my AccuRev VCS plugin to work with build 813.
I diffed the StarTeam plugin from 3.0 with the one in 813 and applied the
changes that seemed relevant. Namely the VCS class now extends AbstractVcs
implements ProjectComponent, FileRenameProvider ,
DirectoryRenameProvider ,DirectoryMoveProvider , FileMoveProvider
instead of implementing AbstractVcs.

Now my plugin compiles fine and the tool windows it creates shows up in IDEA
but it isn't in the VCS integration list in project configurations the way
it does in 3.0.

I am probably missing something obvious but nothing I have tried seems to
make any difference.
Any help would be appreciated
Thanks
Joey




7 comments

Did you verify your plugin.xml?
Did you get any exception in the console?

Jacques

0

Should there have been any changes to plugin.xml? I didn't change it from what works in 3.0.
There are no exception messages in the console. I remeber there was a way to turn on debug loging for the Open Api but couldn't find the post on this. Do you know how?
Thanks
Joey

0

I had no idea you could do that.
However what I would do is put logs in all entry points of your AbstractVcs and see if they get call especially the first ones: ctor(Project), initComponent(), projectOpened() and start()
Alternatively you could send me the source and I could take a quick look (kind of a code review ;-).

Jacques

0

If your vcs extends AbstractVCS and implements ProjectComponent it should be
listed in the vcs configuration panel. Did you add your vcs to the
plugin.xml?

--
Best regards,
Olesya Smirnova
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


"Joey Edelstein" <joey@unicorn.com> wrote in message
news:b9idhu$v14$1@is.intellij.net...

Hi!
I am trying to update my AccuRev VCS plugin to work with build 813.
I diffed the StarTeam plugin from 3.0 with the one in 813 and applied the
changes that seemed relevant. Namely the VCS class now extends

AbstractVcs

implements ProjectComponent, FileRenameProvider ,
DirectoryRenameProvider ,DirectoryMoveProvider , FileMoveProvider
instead of implementing AbstractVcs.

>

Now my plugin compiles fine and the tool windows it creates shows up in

IDEA

but it isn't in the VCS integration list in project configurations the way
it does in 3.0.

>

I am probably missing something obvious but nothing I have tried seems to
make any difference.
Any help would be appreciated
Thanks
Joey

>
>
>
>


0

This is a VCS plugin that works and has been in use for a long time since build ~600 of the EAP of Aridana and now with the official 3.0. I am trying to updated it to work with Aurora build 813.

I didn't make any changes to the plugin.xml just changed my vcs class. Granted I end up working on this late at night so may have made some silly mistake but so far I can't figure out what it may be.

0

Try to call Project.getComponent with your AbstractVCS class

myProject.getComponent(YOUR_VCS_CLASS).

Is it null?

0

Problem found! When trying to understand what I needed to do to update the plugin I installed and tried the JAD plugin and did the job but created a AbastractVCS class that was being compiled in additon to my code. Deleting this fixed the problem.
Thanks for the help!

0

Please sign in to leave a comment.