Bug 437330 - [builder] External refresh sometimes does not remove generated files
Summary: [builder] External refresh sometimes does not remove generated files
Status: NEW
Alias: None
Product: Xtend
Classification: Tools
Component: Core (show other bugs)
Version: 2.5.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-13 03:47 EDT by Sebastian Zarnekow CLA
Modified: 2014-06-13 03:54 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Zarnekow CLA 2014-06-13 03:47:47 EDT
I didn't try it with this small example, but in customer projects this usage pattern leads to stale Java files in xtend-gen folders:

A project is put into git.

Create a branch A.
Create a branch B and switch to B.
Create a new Xtend class C and commit it to B without commiting xtend-gen.
Checkout A on command line [*|.
Find a stale Java class C in the project.

Didn'T try with EGit.
Comment 1 Sebastian Zarnekow CLA 2014-06-13 03:54:07 EDT
Did not try yet with 2.6.1 but I don't remember any changes in that area from 2.5.x to 2.6.x