|
Re: Xtext stuff and SVN [message #557573 is a reply to message #557570] |
Wed, 08 September 2010 07:15 |
Alexander Nittka Messages: 1193 Registered: July 2009 |
Senior Member |
|
|
Hi,
you have to check in the hidden files (they are not hidden because they are not needed).
With respect to the generated files (in src-gen):
First: the clean does not care about java files being generated or not (after all, nobody prevents you from naming your source folder whatever you like, so it is not obvious that src-gen-files are really generated and can therefor be deleted without risk); the compiled classes get deleted.
Second: there are different opinions about checking in generated sources or not.
a) never check in generated sources, as these files can be, well, generated and also there is no risk of someone making manual changes to them which will get lost when regenerating.
b) why not checking them in? If you don't, you are always forced to regenerate before the projects compile (as the missing files will cause lots of errors). So by checking them in, you'll have a working project after check-out.
In my opinion it is a matter of taste, you decide what's best for your project.
Alex
|
|
|
Re: Xtext stuff and SVN [message #557966 is a reply to message #557570] |
Thu, 09 September 2010 16:01 |
|
I often check in the empty src-gen and add 'svn:ignore *'. This way no generated files get checked in and the build path does not break. My strategy is always do not check in any generated code whenever possible. Depends sometimes on project strategies how this is done in real.
~Karsten
Need professional support for Xtext, EMF, Eclipse IDE?
Go to: http://devhub.karakun.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
|
|
|
|
Powered by
FUDForum. Page generated in 0.03286 seconds