minify - Integrate Google closure compiler with Eclipse IDE? -


How does any eclipse integrate with IDE? What I was trying to do is to configure the Google Closure Compiler as an external device for the Eclipse IDE. So I will be able to run the Closer Compiler inside the IDE and I can shorten my javascript files with one click. Can anyone solve this problem so far?

Rock star apps provide a little known plugin that does this. I have written a blog article on this: [has been removed since now is not present].

After some goggling, I also found this, but he did not test it.

Update: The Rock Star Application site no longer works What I was trying to do today, I will definitely download it, I will write an ant script to run it (code below Like), and create a project builder for it.

  & lt; Target name = "reconstruction" & gt; & Lt; Taskdef name = "jscomp" classname = "com.google.javascript.jscomp.ant.CompileTask" classpath = "/ opt / closure-compiler / compiler.jar" /> & Lt; Jscomp compilationLevel = "simple" warning = "cool" debug = "false" output = "js / all.closures.js" & gt; & Lt; Source dir = "js" & gt; & Lt; File name = "script1.js" /> & Lt; File name = "script2.js" /> & Lt; File name = "script3.js" /> & Lt; File name = "script4.js" /> & Lt; File name = "script5.js" /> & Lt; File name = "script6.js" /> & Lt; / Sources & gt; & Lt; / Jscomp & gt; & Lt; / Target & gt;  

Comments