Lines 139-146
Link Here
|
139 |
if (!clean && currentLastBuiltTree == null) |
139 |
if (!clean && currentLastBuiltTree == null) |
140 |
trigger = IncrementalProjectBuilder.FULL_BUILD; |
140 |
trigger = IncrementalProjectBuilder.FULL_BUILD; |
141 |
//don't build if this builder doesn't respond to the given trigger |
141 |
//don't build if this builder doesn't respond to the given trigger |
142 |
if (!builder.getCommand().isBuilding(trigger)) |
142 |
if (!builder.getCommand().isBuilding(trigger)) { |
|
|
143 |
if (clean) |
144 |
currentBuilder.setLastBuiltTree(null); |
143 |
return; |
145 |
return; |
|
|
146 |
} |
144 |
// For incremental builds, grab a pointer to the current state before computing the delta |
147 |
// For incremental builds, grab a pointer to the current state before computing the delta |
145 |
currentTree = ((trigger == IncrementalProjectBuilder.FULL_BUILD) || clean) ? null : workspace.getElementTree(); |
148 |
currentTree = ((trigger == IncrementalProjectBuilder.FULL_BUILD) || clean) ? null : workspace.getElementTree(); |
146 |
int depth = -1; |
149 |
int depth = -1; |