throw new ExecutionException("Cannot find JsTestDriver configuration file " + myConfigFile.getAbsolutePath());
}
BasePaths dirBasePaths = new BasePaths(myConfigFile.getParentFile());
final byte[] content;
try {
content = configVirtualFile.contentsToByteArray();
}
catch (IOException e) {
throw new ExecutionException("Cannot read JsTestDriver configuration file " + configVirtualFile.getPath());
}
Reader reader = new InputStreamReader(new ByteArrayInputStream(content), Charset.defaultCharset());