MirrorPlugin build failure
I have tried several times with each upgrade to Idea to build the MirrorPlugin. I have failed every time.
So I guess I will finally admit my ignorance of what I'm doing wrong and ask for help.
I unzip the MirrorPlugin.zip file to a C:\MirrorPlugin\ directory, change the build.xml file to reflect where my Idea is (C:\IDEA-EAP\), start Idea and then the MirrorPlugin project, click on the ant window to open it, right click on all, Run Target.
I get the following errors in the Idea message window. I have the openapi.jar in the Idea classpath - what am I doing wrong? Please?
Task: javac
(64,1) C:\MirrorPlugin\build.xml:64: Compile failed; see the compiler error output for details.
C:\MirrorPlugin\src\idea\plugin\Settings.java (106:35) cannot resolve symbol method getAttributeValue(java.lang.String, java.Lang.String)
C:\MirrorPlugin\src\idea\plugin\Helpers.java (85:52) cannot resolve symbol method getRoots(com.intellij.openapi.projectRoots.ProjectRootType)
C:\MirrorPlugin\src\idea\plugin\Helpers.java (114:52) cannot resolve symbol method getRoots(com.intellij.openapi.projectRoots.ProjectRootType)
C:\MirrorPlugin\src\idea\plugin\mirror\MirrorProjectComponent.java(51:8) idea.plugin.MirrorProjectComponent should be declared abstract; it does not define createComponent() in idea.plugin.MirrorProjectComponent
C:\MirrorPlugin\src\idea\plugin\mirror\velocity\VelocityProjectContext.java (75:48) cannot resolve symbol variable MIRROR_CONFIGURATION_FILE
Please sign in to leave a comment.
...only just noticed this post, I've been relying on the (a little flakey, IMHO) news feed...so I've copied my email response to you in case someone else is affected:
Hi David,
Thank you for reminding me!...I noticed last week that Idea (maybe only build 650+) started to ship with JDOM 1.0 beta 7 (rather than beta 8). The error was due to me using a method only available JDOM 1.0 beta 8.
Why the IntelliJ people went back to beta 7 is anyone's guess :-/
Please download the latest MirrorPlugin version and the problem should have gone away...
http://www.intellij.org/twiki/bin/view/Main/MirrorPlugin
Cheers,
A.