1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-19 06:55:23 +02:00
cdt/build/org.eclipse.cdt.managedbuilder.core.tests
Christian Walther f138ad10e8 Bug 575490: "No rule" after removing last source file from root
Include the top-level subdir.mk only when one was actually generated
(i.e. when there are source files there), just like for all other
subdir.mk, otherwise a stale one from earlier when there were source
files that have since been removed may be picked up, causing "No rule to
make target" errors.

In some cases (from bug 303953), the removal would be noticed and the
stale subdir.mk be overwritten by a correct empty one, avoiding the
error, but not in the following cases:
- When CommonBuilder.performCleanning() decides that a full rebuild is
needed, regenerateMakefiles() is called instead of generateMakefiles(),
which doesn't get the delta.
- When the refresh in which Eclipse notices the removed source file
happens as part of a build (one that probably failed because the
makefiles weren't updated yet), the next build after that apparently
does not get the delta containing the removal anymore.

Change-Id: Id15b424f02dd5c513d2124620c0c8699d61874fd
Signed-off-by: Christian Walther <walther@indel.ch>
2021-11-02 12:45:10 +01:00
..
.settings Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
icons Test changes for Symbian (Lars & Bala) patch for Shared Tool Options support 2005-06-06 15:53:20 +00:00
META-INF Fixed "The value for X attribute is not externalized" warning 2020-08-28 21:32:18 +02:00
resources Bug 575490: "No rule" after removing last source file from root 2021-11-02 12:45:10 +01:00
suite/org/eclipse/cdt/managedbuilder Properly invoke diff command during test 2021-02-23 14:02:59 +01:00
testdata 197468: apply fix 2008-01-15 17:08:11 +00:00
tests/org/eclipse/cdt Bug 575490: "No rule" after removing last source file from root 2021-11-02 12:45:10 +01:00
.classpath Bug 562494: Update BREE to Java 11 2020-08-24 17:50:56 -04:00
.project Moved the managed build tests from the core tests package to here 2004-04-23 15:21:23 +00:00
about.html Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.sh 2018-11-22 20:31:51 +00:00
build.properties Bug 540373: Cleanup: Remove trailing whitespace in properties files 2018-11-23 07:52:26 +00:00
plugin.properties Fixed "The value for X attribute is not externalized" warning 2020-08-28 21:32:18 +02:00
plugin.xml Bug 575702: Nondeterministic makefile ordering (prelude) 2021-11-02 10:40:32 +01:00
ui-test-plugin.properties releng: Make use of Tycho POM-less functionality 2017-02-13 23:19:56 -04:00