Ashcroft is configured through a set of JVM parameters. They are as follows:
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 |
com.thoughtworks.ashcroft.runtime.logging |
STDOUT |
Writes violations to standard out |
com.thoughtworks.ashcroft.runtime.logging |
STDERR |
Writes violations to standard err |
com.thoughtworks.ashcroft.runtime.logging |
anything else |
Writes violations to a file with that name |
Labels
