Community
Participate
Working Groups
The Xtend2 builder removes each time the xtend-gen folder recursively including non-Java files and folders like for example Subversion .svn folders. The generated java files in xtend-gen folder get deleted from VCS as well if one commits changes in VCS. This is a problem if one uses Maven for executing generator: Java classes generated by Eclipse Xtend2 builder have to be checked in.
Scheduled for RC1 since this one renders Xtend unusuable for CVS and SVN users who want / have to commit their generated code into the repo.
who's working on this?
I pushed (something) to master. Unfortunately I've not been able to test the fix in a real world scenario. Please reopen the ticket as soon as possible if the problem persists.
I observed today this problem with a Subversion controlled project. Steps to reproduce: - Check in an Xtext project including xtend-gen into Subversion - Have a package with just one .xtend file - Check in the generated Java file - produce a compile error in the Xtend file => The generated Java file is removed, and the folder is marked obstructed for subversion. .svn metainformation was accidently removed.
Did you configure svn as the team provider for the given project? Which subversion plugin did you use?
How can the team provider project set project specific? The project is attached to Subversion. The subversion plugin used is Subclipse 1.4.8 with JavaHL 1.5.7
(In reply to comment #6) > How can the team provider project set project specific? The project is attached > to Subversion. The question was whether Eclipse knew about the subversion project or whether you imported it into the workspace without a team provider configuration. Sorry about the unclear question. > The subversion plugin used is Subclipse 1.4.8 with JavaHL 1.5.7 Ok.
So, to make my answer also clear: Eclipse knows about the Subversion configuration. The project and the generated xtend files are marked with Subversion information and the folder is marked obstructed also in Eclipse (with red cross icon) when the generated Xtend file is removed.
(In reply to comment #8) > So, to make my answer also clear: Eclipse knows about the Subversion > configuration. The project and the generated xtend files are marked with > Subversion information and the folder is marked obstructed also in Eclipse > (with red cross icon) when the generated Xtend file is removed. Which Xtext build do you use?
(In reply to comment #9) > Which Xtext build do you use? Ping
It was Xtext 2.0.1 final.
(In reply to comment #11) > It was Xtext 2.0.1 final. Could you do me a favor and double check with one of the latest nightlies (hudson is unfortunately down, though)?
I do not have the environment in which it occured, it was at customer's site. But I'll try to reproduce it soon.
(In reply to comment #12) > (In reply to comment #11) > > It was Xtext 2.0.1 final. > > Could you do me a favor and double check with one of the latest nightlies > (hudson is unfortunately down, though)? Hudson is back again :-)
I'm almost sure this is fixed with the introduction of the complier preferences. Please reopen if I'm wrong.
Closing all bugs that were set to RESOLVED before Neon.0