ForkedJava

object ForkedJava

Helper methods for running the java toolchain by forking.

class Object
trait Matchable
class Any

Value members

Concrete methods

def withArgumentFile[T](args: Seq[String])(f: File => T): T

Helper method to create an argument file that we pass to Javac. Gets over the windows command line length limitation.

Helper method to create an argument file that we pass to Javac. Gets over the windows command line length limitation.

Type Params
T

The return type.

Value Params
args

The string arguments to pass to Javac.

f

A function which is passed the arg file.

Returns

The result of using the argument file.