google-code-export / google-plugin-for-eclipse

Automatically exported from code.google.com/p/google-plugin-for-eclipse
Eclipse Public License 1.0
2 stars 0 forks source link

Plugin com.google.gdt.eclipse.platform.e37 is not compiling (on Eclipse Indigo SR1 at least) #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce the problem:
1. Setup an Eclipse installation as said in the README.txt file
2. Plugin com.google.gdt.eclipse.platform.e37 is not compiling

Version of Eclipse used :
3.7.1 - Indigo Service Release 1 (build Id: 20110916-0149)

All the compilation errors come from the fact that the type 
IASTInstructionCompilerFactory can not be found.

In fact, my Eclipse installation uses the plugin org.eclipse.jdt.debug 
(v3.7.1.v20110802_r371) which include jdi.jar but this archive does not contain 
IASTInstructionCompilerFactory.

Original issue reported on code.google.com by mAdZ...@gmail.com on 17 Nov 2011 at 6:16

GoogleCodeExporter commented 9 years ago
Oops .. my bad, the offending jar is jdimodel.jar (and not jdi.jar).

Original comment by mAdZ...@gmail.com on 17 Nov 2011 at 6:20

GoogleCodeExporter commented 9 years ago
The JavaDoc of 
com.google.gdt.eclipse.platform.debug.eval.JSOEvalingASTInstructionCompilerFacto
ry says  :
Factory to create a new instance of an ASTInstructionCompiler that can 
interpret JSO expressions. Will be compiled against Eclipse 3.7 with a custom 
JDT patch, but will not be executed unless the user has the custom JDT patch 
installed.

Where can we find this custom JDT patch ?

Original comment by mAdZ...@gmail.com on 18 Nov 2011 at 6:40

GoogleCodeExporter commented 9 years ago
I came to the same issue... what i did was try to recreate the patch (see the 
attached file). The compilation errors were gone away but i am not sure if it 
is the correct solution because i don't know if the behavior on 
ASTInstructionCompiler was changed.
At least it allows launch the plugin without compilation errors.

On the zip are the files added to "com.google.gdt.eclipse.platform.e37" and the 
modified plugin.xml

I Hope this help you.

Original comment by martinda...@gmail.com on 19 Jan 2012 at 6:31

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks Martin :)

Will download and have a look at your solution ...

Original comment by mAdZ...@gmail.com on 23 Jan 2012 at 10:29