From f7508cf38732781a467aa3eb95a03cee157e2730 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 9 Oct 2006 12:28:29 +0000 Subject: [PATCH] dont NPE for blank output folder (160167) --- .../aspectj/ajdt/internal/core/builder/AjBuildManager.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 -- 2.39.5