public List getTargets()

in org.apache.easyant4e/src/org/apache/easyant4e/services/EasyantProjectServiceImpl.java [323:335]


    public List<TargetReport> getTargets(IFile ivyFile) {
        EasyAntReport easyAntReport = null;
        try {
            File f = new File(ivyFile.getLocation().toPortableString());
            easyAntReport = easyAntEngine.getPluginService().generateEasyAntReport(f);
        } catch (Exception e) {
            Activator.getEasyAntPlugin().log(IStatus.ERROR, e.getMessage(), e);
        }
        if (easyAntReport != null) {
            return easyAntReport.getUnboundTargets();
        }
        return Collections.emptyList();
    }