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

Bug 323111

Summary: Split outlets for Java and non-Java code
Product: [Modeling] TMF Reporter: Karsten Thoms <karsten.thoms>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: sebastian.zarnekow
Version: 1.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Karsten Thoms CLA 2010-08-19 05:03:27 EDT
We want to be able to seperate the Java code and non-Java resources into different source directories. The generator properties srcPath and srcGenPath should be used to configure outlets for Java artifacts, and additionally new properties srcResPath and srcResGenPath should be introduced for non-Java artifacts. Of course the values of the new properties should default to srcPath and srcGenPath.

Our driver in the project is to adjust the Xtext projects to the standard Maven project layout. Manual sources will go to src/main/java and src/main/resources, and generated resources should go to target/generated/java and target/generated/resources. At the moment we are forced to register the source folder also as a resource folder.
Comment 1 Sebastian Zarnekow CLA 2010-08-25 14:21:54 EDT
Can you solve this one with a workflow component, that moves files according to a name-scheme from main/java to whatever you like?
Comment 2 Sven Efftinge CLA 2012-11-14 05:18:43 EST
no plans to change that.