mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 06:32:10 +02:00
Apply patch from 130170 - Issues with handling version information while generating IDs
This commit is contained in:
parent
7f33784eff
commit
2f7eba1275
4 changed files with 2322 additions and 2324 deletions
|
@ -337,7 +337,7 @@ public class Configuration extends BuildObject implements IConfiguration {
|
|||
Iterator iter = resElements.listIterator();
|
||||
while (iter.hasNext()) {
|
||||
ResourceConfiguration resConfig = (ResourceConfiguration) iter.next();
|
||||
subId = getId() + "." + ManagedBuildManager.getRandomNumber(); //$NON-NLS-1$
|
||||
subId = ManagedBuildManager.calculateChildId(getId(), resConfig.getResourcePath());
|
||||
ResourceConfiguration newResConfig = new ResourceConfiguration(this, resConfig, subId);
|
||||
addResourceConfiguration(newResConfig);
|
||||
}
|
||||
|
@ -974,7 +974,7 @@ public class Configuration extends BuildObject implements IConfiguration {
|
|||
return parent.getCleanCommand();
|
||||
} else {
|
||||
// User forgot to specify it. Guess based on OS.
|
||||
if (Platform.getOS().equals("OS_WIN32")) { //$NON-NLS-1$
|
||||
if (Platform.getOS().equals(Platform.OS_WIN32)) {
|
||||
return new String("del"); //$NON-NLS-1$
|
||||
} else {
|
||||
return new String("rm"); //$NON-NLS-1$
|
||||
|
@ -1486,5 +1486,4 @@ public class Configuration extends BuildObject implements IConfiguration {
|
|||
setDirty(true);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue