1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 01:45:33 +02:00

Fix for the NPE when additional outputs have no extension

This commit is contained in:
Mikhail Sennikovsky 2007-05-24 11:06:35 +00:00
parent f901312dc7
commit 67010572d0

View file

@ -1638,7 +1638,10 @@ public class BuildDescription implements IBuildDescription {
return null;
IManagedDependencyCalculator depCalc = null;
IManagedDependencyGeneratorType depGenType = tool.getDependencyGeneratorForExtension(bRc.getLocation().getFileExtension());
String ext = bRc.getLocation().getFileExtension();
if(ext == null)
ext = ""; //$NON-NLS-1$
IManagedDependencyGeneratorType depGenType = tool.getDependencyGeneratorForExtension(ext);
IManagedDependencyGeneratorType depGen = null;
if(depGenType != null){