}
}
private void rebuild() throws Exception {
Server server = RebuildServer.getInstance(new File(Constants.FEDORA_HOME));
Rebuilder rebuilder = server.getBean(ResourceIndexRebuilder.class);
Map<String, String> options = rebuilder.getOptions();
try {
new Rebuild(rebuilder, options, server);
} catch (Exception e) {
e.printStackTrace();