0

Add Google Closure Compliller to External Tools

I am trying to add Google Closure compiller as External tool to WebStorm IDE.
I downloaded it from http://closure-compiler.googlecode.com/files/compiler-latest.zip and unzipped into C:\DevTools\closure-compiler\
Here is the settings I used to add it as External Tool

Name: Closure Compiller
Program:  "C:\Program Files\Java\jdk1.6.0_27\bin\java.exe" -jar C:\DevTools\closure-compiler\compiler.jar
Parameters: --js $FileName$ --js_output_file $FileNameWithoutExtension$.min.$FileExt$ --compilation_level SIMPLE_OPTIMIZATIONS
WorkingDirectory: $FileDir$

Here is the error I got when I try to run it
Error running Closure Compiller: Cannot run program "\"C:\Program Files\Java\jdk1.6.0_27\bin\java.exe\" -jar C:\DevTools\closure-compiler\compiler.jar": CreateProcess error=5, Îòêàçàíî â äîñòóïå
Closure Tools.png

3 comments

Please sign in to leave a comment.