// return;
CompilationResultDestinationManager crdm = config.getCompilationResultDestinationManager();
- AsmManager structureModel = AsmManager.createNewStructureModel(crdm==null?Collections.EMPTY_MAP:crdm.getInpathMap());
+ AsmManager structureModel = AsmManager.createNewStructureModel(crdm == null ? Collections.EMPTY_MAP : crdm.getInpathMap());
// AsmManager.getDefault().getRelationshipMap().clear();
IHierarchy model = structureModel.getHierarchy();
String rootLabel = "<root>";
return getBcelWorld();
}
-// void addAspectClassFilesToWeaver(List addedClassFiles) throws IOException {
-// for (Iterator i = addedClassFiles.iterator(); i.hasNext();) {
-// UnwovenClassFile classFile = (UnwovenClassFile) i.next();
-// getWeaver().addClassFile(classFile);
-// }
-// }
+ // void addAspectClassFilesToWeaver(List addedClassFiles) throws IOException {
+ // for (Iterator i = addedClassFiles.iterator(); i.hasNext();) {
+ // UnwovenClassFile classFile = (UnwovenClassFile) i.next();
+ // getWeaver().addClassFile(classFile);
+ // }
+ // }
public FileSystem getLibraryAccess(String[] classpaths, String[] filenames) {
String defaultEncoding = buildConfig.getOptions().defaultEncoding;
if (unitResult.hasProblems() || unitResult.hasTasks()) {
IProblem[] problems = unitResult.getAllProblems();
for (int i = 0; i < problems.length; i++) {
- IMessage message = EclipseAdapterUtils.makeMessage(unitResult.compilationUnit, problems[i], getBcelWorld(),progressListener);
+ IMessage message = EclipseAdapterUtils.makeMessage(unitResult.compilationUnit, problems[i], getBcelWorld(),
+ progressListener);
handler.handleMessage(message);
}
}
ret = "bad jar file found in " + p.getAbsolutePath() + " error: " + ioe;
}
return null; // this is the "OK" return value!
+ } else if (p.isFile() && p.getName().indexOf("org.aspectj.runtime") != -1) {
+ // likely to be a variant from the springsource bundle repo b272591
+ return null;
} else {
// might want to catch other classpath errors
}