vtst / ow

Various Eclipse plugins for web development
http://www.normalesup.org/~simonet/soft/
74 stars 29 forks source link

NoSuchFieldException on Closure Compiler 0.3 #236

Open mehdirande opened 9 years ago

mehdirande commented 9 years ago

Hi,

I'm not able to make the plugin for Closure Compiler / Closure Library work since version 0.3. Each time the compiler is run it fail with a NoSuchFieldException on prettyPrint.

It seems that MagicCodePrinterBuilder of net.vtst.ow.closure.compiler.magic try to reflect prettyPrint field from CodePrinter, but since end of 2012 prettyPrint is not a field of CodePrinter anymore, but an attribute of CodePrinter.options.

By the way, in early version of Closure Compiler, CodePrinter is a public class, it could make this part of the code safer.

Thanks for youre work on this project,

Mehdi