Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

JVM parameter

Value

Effect

java.security.manager

com.thoughtworks.ashcroft.runtime.JohnAshcroft

Enables Ashcroft

com.thoughtworks.ashcroft.runtime.forgiving

true

Tells Ashcroft not to throw CantDoThat on violations. If you specify this you should typically also specify

Code Block
com.thoughtworks.ashcroft.runtime.logging

com.thoughtworks.ashcroft.runtime.logging

STDOUTstdout

Writes violations to standard out

com.thoughtworks.ashcroft.runtime.logging

STDERRstderr

Writes violations to standard err

com.thoughtworks.ashcroft.runtime.logging

anything else

Writes violations to a file with that name

Setting the JVM paramters is done by specifying something like {-Dparameter=value}. See the FAQ for details on how to do this in a particular environment.