Hi there!
I wanted to use xdoclet gui for idea intellij, so I did a cvs check out
(xdoclet-all), then built the whole thing. Building XDoclet, XDoclet GUI,
and XJavaDoc were fine. However XDocletIdeaPlugin build was not successful.
======== build out put =====
C:\workspaces\xdoclet-all\xdocletgui\idea>
ant -Didea.home.dir=c:\IntelliJ-IDEA-
3.0-EAP
Buildfile: build.xml
init:
pretty:
prepare:
compile:
[javac] Compiling 2 source files to
C:\workspaces\xdoclet-all\xdocletgui\ide
a\build\classes
[javac]
C:\workspaces\xdoclet-all\xdocletgui\idea\build\src\xdocletgui\intel
lij\XDocletGUIConfigurable.java:16:
xdocletgui.intellij.XDocletGUIConfigurable s
hould be declared abstract; it does not define createComponent() in
xdocletgui.i
ntellij.XDocletGUIConfigurable
[javac] public class XDocletGUIConfigurable implements Configurable
[javac] ^
[javac]
C:\workspaces\xdoclet-all\xdocletgui\idea\build\src\xdocletgui\intel
lij\XDocletGUIComponent.java:95: cannot resolve symbol
[javac] symbol : method createActionToolBar
(java.lang.String,com.intellij.
openapi.actionSystem.ActionGroup,boolean)
[javac] location: class com.intellij.openapi.actionSystem.ActionManager
[javac] ActionManager.getInstance().createActionToolBar(
TOOLWIN
DOW_NAME, ( ActionGroup ) action, true );
[javac] ^
[javac] 2 errors
BUILD FAILED
file:C:/workspaces/xdoclet-all/xdocletgui/idea/build.xml:93: Compile failed;
see
the compiler error output for details.
Total time: 2 seconds
=========================================================
After tracing it, the XDocletGUIConfigurable class, which implements idea's
openapi Configurable interface implements
public abstract JComponent getComponent()
while the openapi declares
public abstract JComponent createComponent()
Changing the method name in XDocletGUIConfigurable class fixed the first
compile error.
I don't know if this is the right thing to do. Probably the openapi from
idea has changed?
I used IntelliJ 3.0 EAP build 665 (also tested with build from 661).
XDoclet README stated it was tested on build 648, unfortunately I don't have
that build, since I have just been using the IDE very recently (starting
with build 661) and loving it dearly :)
However re-running the build with the fix, still produced an error:
================= re run ant out put ==========================
C:\workspaces\xdoclet-all\xdocletgui\idea>
ant -Didea.home.dir=c:\IntelliJ-IDEA-
3.0-EAP
Buildfile: build.xml
init:
pretty:
prepare:
compile:
[javac] Compiling 2 source files to
C:\workspaces\xdoclet-all\xdocletgui\ide
a\build\classes
[javac]
C:\workspaces\xdoclet-all\xdocletgui\idea\build\src\xdocletgui\intel
lij\XDocletGUIComponent.java:95: cannot resolve symbol
[javac] symbol : method createActionToolBar
(java.lang.String,com.intellij.
openapi.actionSystem.ActionGroup,boolean)
[javac] location: class com.intellij.openapi.actionSystem.ActionManager
[javac] ActionManager.getInstance().createActionToolBar(
TOOLWIN
DOW_NAME, ( ActionGroup ) action, true );
[javac] ^
[javac] 1 error
BUILD FAILED
file:C:/workspaces/xdoclet-all/xdocletgui/idea/build.xml:93: Compile failed;
see
the compiler error output for details.
Total time: 2 seconds
=========================================================
I can't figure this one out. ActionGroup extends AnAction (look at
com.intellij.openapi.actionSystem.ActionGroup class file), so the casting
should be OK.
Any ide to get the build working?
Thanks.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user