{
ArrayList<String> results = new ArrayList<String>();
String project = commandLine.getValue(Options.PROJECT_OPTION);
String file = commandLine.getValue(Options.FILE_OPTION);
AntModel model = (AntModel)AntUtils.getAntModel(project, file);
AntProjectNode projectNode = model.getProjectNode(true);
Project antProject = projectNode.getProject();
@SuppressWarnings("unchecked")
Map<String,Target> targets = antProject.getTargets();
for (String target : targets.keySet()){