PerforceDirect not working?

On 4.0.3 b1182, using PerforceDirect 1.1.07, I get the following exception (idea.log) when trying to edit a file (and have the plugin do its thing):

java.lang.NoClassDefFoundError: com/intellij/openapi/editor/actionSystem/ReadonlyFragmentModificationHandler

I get similar NoClassDefFoundErrors for other plugin operations.

I have already added openapi.jar to my idea.lax path:

lax.class.path=../lib/idea.jar;../lib/jdom.jar;../lib/log4j.jar;../lib/dev/openapi.jar;lax.jar

What am I missing?

5 comments
Comment actions Permalink

I see now that the JAR files aren't getting loaded. From idea.log:

2004-06-15 08:41:15,713 INFO - vfs.impl.jar.JarFileSystemImpl - Jar file C:\IntelliJ-IDEA-3.0\lib\idea.jar not found
2004-06-15 08:41:15,713 INFO - vfs.impl.jar.JarFileSystemImpl - Jar file C:\IntelliJ-IDEA-3.0\lib\log4j.jar not found
2004-06-15 08:41:15,713 INFO - vfs.impl.jar.JarFileSystemImpl - Jar file C:\IntelliJ-IDEA-3.0\lib\openapi.jar not found
2004-06-15 08:41:15,713 INFO - vfs.impl.jar.JarFileSystemImpl - Jar file C:\IntelliJ-IDEA-3.0\lib\oromatcher.jar not found
2004-06-15 08:41:15,713 INFO - vfs.impl.jar.JarFileSystemImpl - Jar file C:\IntelliJ-IDEA-3.0\lib\servlet.jar not found
2004-06-15 08:41:15,713 INFO - vfs.impl.jar.JarFileSystemImpl - Jar file C:\IntelliJ-IDEA-3.0\lib\jdom.jar not found
2004-06-15 08:41:15,713 INFO - vfs.impl.jar.JarFileSystemImpl - Jar file C:\IntelliJ-IDEA-3.0\lib\xerces.jar not found

I modified my lax.class.path to be more explicit:

#lax.class.path=../lib/idea.jar;../lib/jdom.jar;../lib/log4j.jar;../lib/dev/openapi.jar;lax.jar
lax.class.path=../../IntelliJ-IDEA-4.0.3/lib/idea.jar;../../IntelliJ-IDEA-4.0.3/lib/jdom.jar;../../IntelliJ-IDEA-4.0.3/lib/log4j.jar;../../IntelliJ-IDEA-4.0.3/lib/dev/openapi.jar;lax.jar

But I see the same errors.

0
Comment actions Permalink

Okay, it looks like the following classes, used by the PerforceDirect plugin, are actually not in the openapi.jar file:

java.lang.NoClassDefFoundError: com/intellij/openapi/editor/actionSystem/ReadonlyFragmentModificationHandler

java.lang.NoClassDefFoundError: com/intellij/openapi/util/JDOMExternalizableList

I'm not sure what these messages that I mentioned earlier indicate:

2004-06-15 08:41:15,713 INFO - vfs.impl.jar.JarFileSystemImpl - Jar file C:\IntelliJ-IDEA-3.0\lib\openapi.jar not found

(etc. for other JARs). Apparently some code attempts to load several JAR files from hard-coded paths? In any case, it doesn't seem relevant.

Instead, it looks like PerforceDirect 1.1.07 is not compatible with the 4.0.3/build 1182 lib/dev/openapi.jar file.

0
Comment actions Permalink

Problem solved:

I got a copy of PerforceDirect 1.1.05 and it works with 4.0.3 / 1182.

I was unable to find this version on the net, but a colleague had it.

0
Comment actions Permalink

Alan,

Could you please send that plug-in to jon.gottschalk@hotmail.com ?

Thanks,
Jon

0
Comment actions Permalink

should be: jon_gottschalk(at)hotmail.com

0

Please sign in to leave a comment.