Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 134064

Summary: recreateModifiedClassFileInOutputFolder only works in default package
Product: [Eclipse Project] JDT Reporter: Markus Keller <markus.kell.r>
Component: CoreAssignee: Kent Johnson <kent_johnson>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: 3.2 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Markus Keller CLA 2006-03-30 08:09:37 EST
I20060330-0010

I tried the new 'Java > Compiler > Building > Output folder > Rebuild class files modified by others' option, but AFAICS, it only works in the default package.

Steps:
- enable the option
- open a class file from a default package in the text editor
- add some characters, save
    -> automatically recompiled, changes undone

When I do the same for a .class file from a non-default package, it is not recompiled on save.
Comment 1 Kent Johnson CLA 2006-03-30 10:20:24 EST
Markus - what was your project setup? Any source/output folders?
Comment 2 Kent Johnson CLA 2006-03-30 10:27:37 EST
I've tried a project with no source/output folders and a project with src & bin folders.

Both cases work for me
Comment 3 Kent Johnson CLA 2006-03-30 11:24:23 EST
Added an additional test testCorruptBuilder2 to BuildpathTests.

Missed answering false in some recursive calls to checkForClassFileChanges
Comment 4 Markus Keller CLA 2006-03-31 03:39:36 EST
Verified in I20060330-2000.