problems.add(problem);
return;
}
// SWC target will create a SWC model.
ISWCTarget swcTarget;
ITargetSettings targetSettings = projectConfigurator.getTargetSettings(TargetType.SWC);
if (targetSettings == null)
return;
swcTarget = project.createSWCTarget(targetSettings, null);
target = (SWFTarget)swcTarget.getLibrarySWFTarget();
Collection<ICompilerProblem> swcProblems = new ArrayList<ICompilerProblem>();
final ISWC swc = swcTarget.build(swcProblems);
problems.addAll(swcProblems);
// Don't create a SWC if there are errors unless a
// developer requested otherwise.