Answer the question
In order to leave comments, you need to log in
How to find out what the closure-compiler rests on?
Added closure-compiler to phpstorm. I left the settings as suggested, and left
--compilation_level SIMPLE_OPTIMIZATIONS --js $FileName$
Just specified the folder with scripts and downloaded closure-compiler.jar
I get
java.util.MissingResourceException: Can't find bundle for base name com.google.javascript.rhino.Messages, locale ru_RU
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1387)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:845)
at com.google.javascript.rhino.SimpleErrorReporter.getMessage(SimpleErrorReporter.java:111)
at com.google.javascript.rhino.SimpleErrorReporter.getMessage0(SimpleErrorReporter.java:98)
at com.google.javascript.jscomp.RhinoErrorReporter.<init>(RhinoErrorReporter.java:141)
at com.google.javascript.jscomp.RhinoErrorReporter.<init>(RhinoErrorReporter.java:30)
at com.google.javascript.jscomp.RhinoErrorReporter$OldRhinoErrorReporter.<init>(RhinoErrorReporter.java:233)
at com.google.javascript.jscomp.RhinoErrorReporter$OldRhinoErrorReporter.<init>(RhinoErrorReporter.java:229)
at com.google.javascript.jscomp.RhinoErrorReporter.forOldRhino(RhinoErrorReporter.java:190)
at com.google.javascript.jscomp.Compiler.<init>(Compiler.java:244)
at com.google.javascript.jscomp.CommandLineRunner.createCompiler(CommandLineRunner.java:1963)
at com.google.javascript.jscomp.AbstractCommandLineRunner.doRun(AbstractCommandLineRunner.java:1100)
at com.google.javascript.jscomp.AbstractCommandLineRunner.run(AbstractCommandLineRunner.java:545)
at com.google.javascript.jscomp.CommandLineRunner.main(CommandLineRunner.java:2174)
Process finished with exit code -2
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question