Package org.apache.flex.compiler.problems

Examples of org.apache.flex.compiler.problems.ImproperlyConfiguredTargetProblem


        if (!Iterables.isEmpty(fatalProblemsFromSuper))
            return fatalProblemsFromSuper;
       
        IResolvedQualifiersReference rootClassRef = getRootClassReference();
        if (rootClassRef == null)
            return ImmutableList.<ICompilerProblem>of(new ImproperlyConfiguredTargetProblem());
       
        String rootClassFileName = targetSettings.getRootSourceFileName();
        if (rootClassFileName == null)
            return ImmutableList.<ICompilerProblem>of(new ImproperlyConfiguredTargetProblem());
       
        Collection<ICompilationUnit> rootClassCompilationUnits = project.getCompilationUnits(rootClassFileName);
        assert rootClassCompilationUnits.isEmpty() || rootClassCompilationUnits.size() == 1;
        if (rootClassCompilationUnits.isEmpty())
            return ImmutableList.<ICompilerProblem>of(new FileNotFoundProblem(rootClassFileName));
View Full Code Here

TOP

Related Classes of org.apache.flex.compiler.problems.ImproperlyConfiguredTargetProblem

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.