diff options
author | aclement <aclement> | 2006-10-09 12:28:29 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-10-09 12:28:29 +0000 |
commit | f7508cf38732781a467aa3eb95a03cee157e2730 (patch) | |
tree | d1f37cedea8dd59a1f7437eaaeeb1e3ffcbaf296 /org.aspectj.ajdt.core/src | |
parent | 9175cd11dfa04aa9b30da47ee8789bc79e24fa46 (diff) | |
download | aspectj-f7508cf38732781a467aa3eb95a03cee157e2730.tar.gz aspectj-f7508cf38732781a467aa3eb95a03cee157e2730.zip |
dont NPE for blank output folder (160167)
Diffstat (limited to 'org.aspectj.ajdt.core/src')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java | 6 |
1 files 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 |