Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 354938 - Generated files not cleaned up appropriately
Summary: Generated files not cleaned up appropriately
Status: CLOSED DUPLICATE of bug 353464
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: SR2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-17 07:08 EDT by Vladimir Piskarev CLA
Modified: 2011-08-17 07:48 EDT (History)
1 user (show)

See Also:
sebastian.zarnekow: indigo+


Attachments
'example' project (1.42 KB, application/zip)
2011-08-17 07:09 EDT, Vladimir Piskarev CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Piskarev CLA 2011-08-17 07:08:17 EDT
Build Identifier: I20110613-1736

JavaProjectBasedBuilderParticipant does not save its 'sourceTargetMap' across Eclipse sessions. It may lead to generated files not being cleaned up appropriately.

Reproducible: Always

Steps to Reproduce:
1. Import the standard 'Xtext Domain-Model Example' projects into the
workspace.

2. Run the runtime workbench and import the attached 'example' project into the
runtime workspace. Restart the workbench after a clean build.

3. Open 'Foo.dmodel' and comment out the entire declaration of entity 'Foo'. Save the changes. Note that the earlier generated 'Foo.java' file still exists. Note that even a clean build is of no help here.
Comment 1 Vladimir Piskarev CLA 2011-08-17 07:09:53 EDT
Created attachment 201634 [details]
'example' project
Comment 2 Sebastian Zarnekow CLA 2011-08-17 07:35:39 EDT

*** This bug has been marked as a duplicate of bug 353464 ***
Comment 3 Vladimir Piskarev CLA 2011-08-17 07:47:18 EDT
Sorry about the duplicate. Was searching, but has not found it.
Comment 4 Sebastian Zarnekow CLA 2011-08-17 07:48:39 EDT
(In reply to comment #3)
> Sorry about the duplicate. Was searching, but has not found it.

No problem at all. Your high quality feedback is very appreciated.