I have selected the second option as the Preferred Processing Method: "Send JavaScript file contents to the API"

NOT sure if it works (any hint how to controll if this module actually works?)

what makes me doubt is error messages in Local Closure Compiler Status
X Java - Unable to verify that Java is installed via command line PHP.
√ Compiler File - Compiler file compiler.jar exists in Closure Compiler module directory.
X Local Compiler Test - Unable to run Closure Compiler locally. Please check Java version, PHP permissions.

anybody can explain what these error messages actually mean?
ok, Java is not installed via command line php ... no, i guess it is not

but i thought the local compiler test should be able to work with the compiler.jar file in the module directory?

please help! thank you ...

Comments

mehmeta’s picture

Local compiler (compiler.jar) is a Java file and requires your environment to be able to execute Java from php command line (java installed, permissions are set properly). If your system is not capable of that then the module can use other methods. In your case, Javascript files will still be compiled using the "Send JavaScript file contents to the API" method, if you have javascript aggregation turned on under performance settings of your Drupal site. You can verify that the module is working by going to sites/default/files/js folder and peeking into cached javascript files. You'll see the module's signature in the optimized files: /* Optimized by closure_compiler module using Google closure compiler. */ If you can't see that at the top of the js files try executing cron manually for a few times. If you don't have any js files under that directory it means you either don't have javascript aggregation turned on or just cleared the cache. Keep in mind that the aggregated javascript files are created in that folder as you browse different pages on your Drupal site.

Let me know if this helps, thanks!

bavarian’s picture

THAT HELPED A LOT !

there are a couple of .js-files in this folder and all of them do have a "signature" (right in the beginning on top of the files) /* Optimized by closure_compiler module using Google closure compiler. */

so I assume things are working !

thank you !

mehmeta’s picture

Status: Active » Closed (fixed)

No problem, thanks for the feedback.