private void initArgs(BaseActionArgs args) {
if (null != args.getProject()) {
project = args.getProject();
} else if (null == args.getProject() &&
framework.getFrameworkProjectMgr().listFrameworkProjects().size() == 1) {
final FrameworkProject d = (FrameworkProject) framework.getFrameworkProjectMgr().listFrameworkProjects().iterator().next();
project = d.getName();
main.log("defaulting to project: " + d.getName());
} else {
throw new InvalidArgumentsException("-p option not specified");
}
verbose = args.isVerbose();
}