+ "classpath.");
}
}
} else if (jsCodeCompression.equals("closure-compiler")) {
if (ccComp) {
jsCodeCompressor = new JSClosureCompilerApp();
} else {
jsCodeCompressor = new JSClosureCompilerHTTPService();
if (log.isInfoEnabled()) {
log.info("The Google Closure Compiler is not available on "
+ "the classpath, so the online service is used.");
}
}
} else {
// select default compressor
// if available we choose one of the local compressors, because an
// external compression service is too slow
if (ccComp) {
jsCodeCompressor = new JSClosureCompilerApp();
} else if (yuiComp) {
jsCodeCompressor = new JSYUICompressor();
}
// else {
// if (log.isInfoEnabled()) {