I am using Intellij Idea 7.0.4 build #7941.
I downloaded the plugin development kit http://www.jetbrains.com/idea/download/index.html#kit. It has got sources for perforce and subversion plugins.
The problem is that when I create a new project as plugin module taking these as my sources then the module has compilation errors as follows:
It requires org.tmatesoft.core.svn package which is not present in the source.
So what I did was I went to IDEA_HOME/plugins.
From there I took the subversion integration plugin which comes bundled with idea installation and from it opened the javasvn.jar file and extracted org.tmatesoft classes from it.
Then included the path to these classes in my IDEA SDK library's class path.
After this the project compiled successfully giving only 9 warnings for deprecations.
I created jar for my plugin.
Then removed the original subversion integration plugin and installed this one.
Now when I restart my intellij Idea then strange things happen.
The plugin creates subversion actions in the Version Control menu but clicking them does not perform anything.
Also if I go into project settings--> version Control then the interface does not open up.
Even the IDE suffers as for any open project the project tree which should appear on the left does not show (Please Check the attached snapshot).
On compilation it again reports missing classes, some of which are (For a complete error log please see the attached text file.):
Error:Error:line (32)cannot find symbol class PerforceBundle
Error:Error:line (33)cannot find symbol class ServerVersion
Error:Error:line (184)cannot find symbol class ServerVersion
Error:Error:line (7)cannot find symbol class ExecResult
Error:Error:line (9)cannot find symbol class PerforceTimeoutException
And so on...
Kindly help as I am trying to make a VCS plugin and I wanted to use these as reference. I hope the files provided in the plugin development package, http://www.jetbrains.com/idea/download/index.html#kit are up to date as I am following the VCS APIs from there but I'm unable to understand much from them as they are not completely documented.
Attachment(s):Perforce_errors.txtSubversion causes project tree to disappear.JPG