Commit 504752c
committed
Perform a full build if output folder was deleted externally
If the output folder is deleted externally, Java builder doesn't rebuild
anything on next auto / incremental build request.
The change checks the missing output folder on the next build request
and converts build kind to a FULL_BUILD if at least one output folder in
the project is missing.
Fixes #47451 parent a75a1f6 commit 504752c
File tree
2 files changed
+87
-3
lines changed- org.eclipse.jdt.core.tests.builder/src/org/eclipse/jdt/core/tests/builder
- org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/builder
2 files changed
+87
-3
lines changedLines changed: 31 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1018 | 1018 | | |
1019 | 1019 | | |
1020 | 1020 | | |
| 1021 | + | |
1021 | 1022 | | |
1022 | 1023 | | |
| 1024 | + | |
1023 | 1025 | | |
1024 | | - | |
| 1026 | + | |
1025 | 1027 | | |
1026 | | - | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
1027 | 1033 | | |
1028 | 1034 | | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
1029 | 1051 | | |
1030 | 1052 | | |
| 1053 | + | |
1031 | 1054 | | |
1032 | 1055 | | |
1033 | 1056 | | |
1034 | 1057 | | |
1035 | | - | |
| 1058 | + | |
1036 | 1059 | | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
1037 | 1063 | | |
1038 | 1064 | | |
| 1065 | + | |
| 1066 | + | |
1039 | 1067 | | |
1040 | 1068 | | |
1041 | 1069 | | |
| |||
Lines changed: 56 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
686 | 688 | | |
687 | 689 | | |
688 | 690 | | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
689 | 696 | | |
690 | 697 | | |
691 | 698 | | |
| |||
878 | 885 | | |
879 | 886 | | |
880 | 887 | | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
881 | 937 | | |
882 | 938 | | |
883 | 939 | | |
| |||
0 commit comments