Init: Optionally skip plugin installation process

That change fixes acceptance test execution from eclipse.

Change-Id: I489578d06a670547ea42dbbe41e2057b490208cd
This commit is contained in:
David Ostrovsky
2013-09-14 22:14:56 +02:00
parent 0309b790b4
commit d0ac97501b
4 changed files with 27 additions and 12 deletions

View File

@@ -84,7 +84,8 @@ class GerritServer {
File tmp = TempFileUtil.createTempDirectory();
Init init = new Init();
int rc = init.main(new String[] {
"-d", tmp.getPath(), "--batch", "--no-auto-start"});
"-d", tmp.getPath(), "--batch", "--no-auto-start",
"--skip-plugins"});
if (rc != 0) {
throw new RuntimeException("Couldn't initialize site");
}