File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/build Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,12 @@ Added methods that can be used to check/fix the Launch Target name:
165
165
- Added class:
166
166
- org.eclipse.launchbar.core.target.LaunchTargetUtils
167
167
168
+ #### org.eclipse.cdt.core.build.CBuildConfiguration.getBuildDirectory() should not be overridden
169
+
170
+ The ` @nooverride ` flag was added to ` CBuildConfiguration.getBuildDirectory ` .
171
+ Extenders should only be overridding ` getBuildDirectoryURI ` which is part of the ` ICBuildConfiguration2 ` API.
172
+ ` getBuildDirectory ` is a convenience method to convert URI into Path.
173
+
168
174
#### org.eclipse.cdt.cmake.core.properties refactored
169
175
170
176
A significant simplification to the CMake build properties was completed, this included removing some API that was not used.
Original file line number Diff line number Diff line change @@ -325,6 +325,13 @@ public URI getBuildDirectoryURI() throws CoreException {
325
325
return getBuildContainer ().getLocationURI ();
326
326
}
327
327
328
+ /**
329
+ * Convenience method to convert getBuildDirectoryURI() to a Path
330
+ * <p>
331
+ * @apiNote This method used to be overridable, but it leads to unclear semantics for extenders.
332
+ * Extenders looking to change the build directory should only override {@link #getBuildDirectoryURI()}
333
+ * @nooverride This method is not intended to be re-implemented or extended by clients.
334
+ */
328
335
public Path getBuildDirectory () throws CoreException {
329
336
return Paths .get (getBuildDirectoryURI ());
330
337
}
You can’t perform that action at this time.
0 commit comments