From: aclement Date: Mon, 9 Oct 2006 12:28:29 +0000 (+0000) Subject: dont NPE for blank output folder (160167) X-Git-Tag: BEFORE_133532~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f7508cf38732781a467aa3eb95a03cee157e2730;p=aspectj.git dont NPE for blank output folder (160167) --- diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java index 79215b62c..92a73974b 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java @@ -328,10 +328,8 @@ public class AjBuildManager implements IOutputClassFileNameProvider,IBinarySourc // for bug 113554: support ajsym file generation for command line builds if (buildConfig.isGenerateCrossRefsMode()) { - String configFileProxy = buildConfig.getOutputDir().getAbsolutePath() - + File.separator - + CROSSREFS_FILE_NAME; - AsmManager.getDefault().writeStructureModel(configFileProxy); + File configFileProxy = new File(buildConfig.getOutputDir(),CROSSREFS_FILE_NAME); + AsmManager.getDefault().writeStructureModel(configFileProxy.getAbsolutePath()); } // have to tell state we succeeded or next is not incremental