Files
sbt/integration-test/bin/java
T
Claudio Bley a108c46851 Add java mock scripts to avoid running a JVM during tests
The script simply prints out each argument in an unambigous form on a single
line and handles to the `--version` option.

For windows, add `java.cmd` script which simply calls the former `java` script.
2020-10-01 21:21:03 +02:00

10 lines
195 B
Python
Executable File

#!/usr/bin/env python
import sys
if '--version' in sys.argv or '-version' in sys.argv:
print 'openjdk version "1.8.0_212"'
else:
for arg in sys.argv[1:]:
print(repr(arg)[1:-1])