exit(-1);
}
}
static void execute(AdminCommandSupport command, File storageFile, String[] args) throws Exception {
DefaultActionPreparator dap = new DefaultActionPreparator();
List<Object> params = new ArrayList<Object>(Arrays.asList(args));
params.remove(0); // this is the actual command name
if (!dap.prepare(command, null, params)) {
return;
}
AdminServiceImpl admin = new AdminServiceImpl();
admin.setStorageLocation(storageFile);