parts[0].replace(".feature.group", ""), parts[1]);
}
}
};
if (sites.size() > 0){
Command command = new ListCommand(
handler, sites.toArray(new String[sites.size()]));
try{
command.start();
command.join();
if(command.getReturnCode() != 0){
throw new RuntimeException(
"error: " + command.getErrorMessage() +
" out: " + command.getResult());
}
}finally{
command.destroy();
}
}
return availableFeatures;
}
});