Community
Participate
Working Groups
Please see bug 129082. JDT/Core has added a new option in M6 to JavaCore called CORE_JAVA_BUILD_MAKE_OUTPUT_FOLDER_CONSISTENT that needs to be surfaced in the UI. From JavaCore.getDefaultOptions() * BUILDER / Make Output Folder(s) Consistent * Indicate whether the JavaBuilder should check that the output folders * are consistent while performing incremental build operations. If changes * are detected to managed .class files, then a full build is performed. * - option id: "org.eclipse.jdt.core.builder.makeOutputFolderConsistent" * - possible values: { "enabled", "ignore" } * - default: "ignore"
Renamed the option to: org.eclipse.jdt.core.builder.recreateModifiedClassFileInOutputFolder=enabled BUILDER / Recreate Modified class files in Output Folder Indicate whether the JavaBuilder should check for any changes to .class files in the output folders while performing incremental build operations. If changes are detected to managed .class files, then a full build is performed, otherwise the changes are left as is. Tools further altering generated .class files, like optimizers, should ensure this option remains set in its default state of ignore.
*** Bug 133804 has been marked as a duplicate of this bug. ***
Any suggestions for the label in the prference page? My suggestion would be: 'Detect and rebuild class files modified by others'
Adding Philippe for brainstorming about the label.
Maybe simply 'Rebuild class files modified by others' (detect is implicit)
Both sounds good to me. Being a bit verbose there is likely a good idea. The pref should go under the Java>Compiler>Building>Output folder area.
new UI released > 20060329 used Jeromes suggestion 'Rebuild class files modified by others'
Reopening. The preference is still enabled when I disable project-specific settings: - default workspace setting ('Java Compiler > Building > Rebuild...' unchecked) - set project-specific setting to checked - change a class file in the text editor -> automatically recompiled (good) - disable project-specific settings on 'Java Compiler > Building' page - change a class file in the text editor -> automatically recompiled -> expected: no recompile
Can you file a new bug against jdt.core?
verified in I20060330-0010 The option is there
Problem is that UI does not remove the project-specific setting.
Created attachment 37303 [details] Fix
Fixed UI problem in JavaBuildConfigurationBlock. Filed bug 134064 for a core problem with the new feature.
Verified in I20060330-2000.