Module Juicer::Minifyer::JavaBase
In: lib/juicer/minifyer/java_base.rb

Provides an interface to Java based compressor libraries using Juicer::Shell::Binary.

The compressor is invoked using the java binary and the compressor jar file.

Providing the Jar file can be done in several ways. The following directories are searched (in preferred order)

 1. The directory specified by the option :bin_path
 2. The directory specified by the environment variable, if set
 3. Current working directory

Name of environment variable is decided by including classes self.env_name constant.

For more information on how the Jar is located, see +Juicer::Minify::JavaMinifyer.locate_jar+

Author:Christian Johansen (christian@cjohansen.no)
Copyright:Copyright (c) 2008-2009 Christian Johansen
License:MIT

Methods

command   jar_args   new   set_opts  

Included Modules

Juicer::Binary

Public Class methods

Public Instance methods

Constructs the command to use

Overrides set_opts called from binary class This avoids sending illegal options to the java binary

[Validate]