Any news about API Comparator?

Hello,

I really liked this plugin, but now I couldn't find it in the plugin manager and the version I foun on the site didn't work with 4.5.1 even with the FoxAdapter. Is this plugin discontinued? I hope not.

Thanks in advance for your time.

7 comments

Hello,

I hope, i just not available from Plugin Manager of 4.5.1. Just download it
from site:
http://plugins.intellij.net/plugins/view/?id=API%20Comparator

Tnx
--
Alexey Efimov, Java Developer
Tops-BI
http://www.topsbi.ru

0

I get this exception when I start Idea, I am sure I am missing something, can you please help me.

java.lang.NoClassDefFoundError: org/intellij/plus/localizer/LocalizerManager
at org.intellij.apiComparator.Plugin.(Plugin.java:25) at org.intellij.apiComparator.actions.RunComparatorAction.]]>(RunComparatorAction.java:22)
at org.intellij.apiComparator.ComparatorManager.initComponent(ComparatorManager.java:40)
at com.intellij.openapi.g.b.a.a(a.java:217)
at com.intellij.openapi.g.b.a.b(a.java:158)
at com.intellij.openapi.g.b.a.getComponent(a.java:230)
at com.intellij.openapi.g.b.a.getComponent(a.java:47)
at com.intellij.openapi.g.b.a.a(a.java:86)
at com.intellij.openapi.g.b.a.j(a.java:131)
at com.intellij.openapi.e.b.c.a(c.java:34)
at com.intellij.idea.e.c(e.java:24)
at com.intellij.idea.Main$2.run(Main$2.java)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
ERROR - llij.ide.plugins.PluginManager -
ERROR - llij.ide.plugins.PluginManager - IntelliJ IDEA 4.5.1 Build #2239
ERROR - llij.ide.plugins.PluginManager - JDK: 1.4.2_03
ERROR - llij.ide.plugins.PluginManager - VM: Java HotSpot(TM) Client VM
ERROR - llij.ide.plugins.PluginManager - Vendor: Sun Microsystems Inc.
ERROR - llij.ide.plugins.PluginManager - OS: SunOS
ERROR - llij.ide.plugins.PluginManager - Last Action:
ERROR - llij.ide.plugins.PluginManager -
java.lang.NoClassDefFoundError: org/intellij/plus/localizer/LocalizerManager
at org.intellij.apiComparator.Plugin.(Plugin.java:25) at org.intellij.apiComparator.actions.RunComparatorAction.]]>(RunComparatorAction.java:22)
at org.intellij.apiComparator.ComparatorManager.initComponent(ComparatorManager.java:40)
at com.intellij.openapi.g.b.a.a(a.java:217)
at com.intellij.openapi.g.b.a.b(a.java:158)
at com.intellij.openapi.g.b.a.getComponent(a.java:230)
at com.intellij.openapi.g.b.a.getComponent(a.java:47)
at com.intellij.openapi.g.b.a.a(a.java:86)
at com.intellij.openapi.g.b.a.j(a.java:131)
at com.intellij.openapi.e.b.c.a(c.java:34)
at com.intellij.idea.e.c(e.java:24)
at com.intellij.idea.Main$2.run(Main$2.java)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
^Cjava.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:61)
at com.intellij.openapi.g.b.a.b(a.java:28)
at com.intellij.openapi.g.b.a.getComponent(a.java:230)
at com.intellij.openapi.g.b.a.getComponent(a.java:47)
at com.intellij.openapi.e.b.c.g(c.java:277)
at com.intellij.openapi.e.b.c.saveSettings(c.java:329)
at com.intellij.ide.bi.e(bi.java:39)
at com.intellij.ide.bi.access$300(bi.java:45)
at com.intellij.ide.bi$3.run(bi$3.java)
at com.intellij.ide.bi.d(bi.java:71)
at com.intellij.ide.bi.access$500(bi.java:93)
at com.intellij.ide.bi$4.run(bi$4.java:4)
at com.intellij.util.Alarm$1.run(Alarm.java:112)
at com.intellij.util.Alarm$2.run(Alarm.java:253)
at com.intellij.openapi.e.b.d$b_.run(d$b_.java:3)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
ERROR - ij.components.ComponentManager - Component class org.intellij.apiComparator.ComparatorManager is being requested during its own initializing procedure

0

Seeams that you have plus in IDEA/lib folder. Here is my IDEA/lib contents:
bcel.jar
forms_rt.jar
icons.jar
idea.jar
idea_rt.jar
jasper2_rt.jar
jdom.jar
jh.jar
JNIWrap.jar
junit.jar
log4j.jar
openapi.jar
oromatcher.jar
resources.jar
servlet.jar
trove4j.jar
velocity.jar
xerces.jar
xmlrpc-1.1.jar

And that contents of lib of apiComparator:
apiComparator.jar
forms_rt.jar
pclib.jar
plus_rt.jar
resources.jar

Please check.

Thanks!

0

Oh, silly me, I was using old installation with new plugin.

Thank you very much Alexey, you are a great help as you were always.

Another small question, I can't export the differences, the problem seems to be that the jar files I am comparing are obfuscated, so I get errors while writing the xml like "G\sdfsxghks|^"" is not legal for a JDOM attribute. Is there a way around this?

0

Hmm... strange, APIcomparator, must be remove obfuscated methods from comparison...

I test for idea.jar from different IDEA releases, it works... but maybe for some obfuscators it will no work...

Can you post jar if it no so big?

Thanks!

0

I am sorry I can't post the jar file, but one point that might be the issue, The error message is out for the string value of a constant.

public static final String MY_CONSTANT = "G\khfjgkjsfg|^gsdjf""

the error says that it is not legal for JDOM attribute: 0x14 is not a legal XML character.

hope this helps.

0

Oh, value of constant... i'm not thing about it :)
Thanks, will be fixed soon :)

0

Please sign in to leave a comment.