Does anybody know how to integrate Google closure compiler with Eclipse IDE? The thing I was trying to do is to configure Google closure compiler as a external tool for Eclipse IDE. Then I would be able to run closure compiler within IDE and minify my Javascript files with single click. Have anybody solved this problem yet?
相关问题
- Eclipse and Mylyn : how to disable grey files in t
- Creating a script to use Google Closure for multip
- Installing Pydev for Eclipse throws error
- Error in Scala Compiler: java.lang.AssertionError:
- How to remove unused imports using Eclipse and not
相关文章
- selenium+eclipse 打开网页时报错
- Eclipse failing to open
- Eclipse how can I indent C++ preprocessor macros
- Why is FindBugs ignoring my check for null?
- Eclipse cleanup - what are the “.index” files - ca
- Eclipse plugin to find out unused methods in a cla
- Spring NamespaceHandler issue when launching Maven
- Google USB Package isn't showing in SDK Manang
try these eclipse plugins:
Eclipse Plugin for Closure Templates
Eclipse Plugin for JavaScript with Closure Compiler and Closure Library
http://www.normalesup.org/~simonet/soft/index.en.html
everything works!
This podcast has some info on how the closure compiler might fit into the IDE. But it was published before closure was released.
you could use ant tasks for this http://code.google.com/p/closure-compiler/wiki/BuildingWithAnt
Rock Star Apps provide a little-known plugin which does this. I just wrote a blog article on it: [removed as doesn't exist anymore].After some googling, I also found this, but haven't tested it: https://github.com/greggian/Eclipse-Closure-Compiler.
Update: the Rock Star Apps site no longer works. Were I to try to do this today, I would definitely just download the closure compiler jar, write an ant script to run it (something like the code below), and then create a project builder for it.
You might be interested in http://plovr.com/, a Closure build tool. It dynamically recompiles JavaScript and Closure Template code.