1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-18 14:35:23 +02:00

Build Model and Internal Builder fixes and enhancements

This commit is contained in:
Mikhail Sennikovsky 2006-04-18 21:04:44 +00:00
parent 6140a76f77
commit 3343177fca
2 changed files with 4 additions and 1 deletions

View file

@ -392,6 +392,9 @@ public class BuildDescription implements IBuildDescription {
BuildDescriptionManager.accept(new RebuildStateSynchronizer(), this, true); BuildDescriptionManager.accept(new RebuildStateSynchronizer(), this, true);
if(fOutputStep.needsRebuild())
fInputStep.setRebuildState(true);//needed for the pre-build step invocation
if(DbgUtil.DEBUG) if(DbgUtil.DEBUG)
DbgUtil.traceln("<---Synch stopped"); //$NON-NLS-1$ DbgUtil.traceln("<---Synch stopped"); //$NON-NLS-1$
} }

View file

@ -47,7 +47,7 @@ public class GenDirInfo {
if(path != null if(path != null
&& fProjPath.isPrefixOf(path)){ && fProjPath.isPrefixOf(path)){
path = path.removeLastSegments(1).removeFirstSegments(1); path = path.removeLastSegments(1).removeFirstSegments(1);
if(fDirPathSet.add(path)){ if(path.segmentCount() > 0 && fDirPathSet.add(path)){
IFolder folder = fProject.getFolder(path); IFolder folder = fProject.getFolder(path);
if(!folder.exists()){ if(!folder.exists()){
try { try {