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

Bug 365876

Summary: Builder should create src-gen and xtend-gen directories
Product: [Modeling] TMF Reporter: Vlad Dumitrescu <vladdu55>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: sebastian.zarnekow
Version: 2.1.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Vlad Dumitrescu CLA 2011-12-07 08:08:08 EST
The src-gen and xtend-gen directories are not created if they don't
exist and the bulider fails with an exception. I think they should be created automatically.

If these directories are set as ignored in git (which is usually the case), they aren't created at checkout either.
Comment 1 Sebastian Zarnekow CLA 2011-12-07 08:20:40 EST
Works for me with latest version. Please make sure that you configured the xtend compiler in your workspace settings properly.
Comment 2 Vlad Dumitrescu CLA 2011-12-07 08:33:40 EST
It works only for xtend-gen.

src-gen is not created.

I'm using 2.1.1.v201111141332
Comment 3 Sebastian Zarnekow CLA 2011-12-07 08:36:05 EST
Which language do you expect to maintain src-gen?
In a language project, it's a folder that is created during workflow exectuation. Did you re-run the workflow?
Comment 4 Vlad Dumitrescu CLA 2011-12-07 08:45:29 EST
You are right, I was confused by the fact that the src-gen directories in the *.tests and *.ui projects are generated also by running the workflow.

Sorry for the noise!
Comment 5 Sebastian Zarnekow CLA 2011-12-07 08:47:02 EST
(In reply to comment #4)
> Sorry for the noise!

No problem at all. Feedback is always welcome!