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

Bug 367914

Summary: [Xtend] Standalone Compiler - Allow multiple source folders
Product: [Modeling] TMF Reporter: Sven Efftinge <sven.efftinge>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ama, carlo.mueller-reichenwallner, christian.kesselheim, christophkulla, clay, mail, oliver.libutzki, wolfgang.haug
Version: 2.2.1Flags: sven.efftinge: juno+
Target Milestone: M5   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Patch to support multiple source directories sven.efftinge: iplog+

Description Sven Efftinge CLA 2012-01-05 02:56:43 EST
The standalone compiler should be configurable with multiple source folders.
Comment 1 Sven Efftinge CLA 2012-01-06 02:57:08 EST
It turns out that this is already supported. The property sourceFolder can handle a string with multiple paths separated by File.pathSeparator.
Comment 2 Christoph Kulla CLA 2012-01-06 13:36:01 EST
Created attachment 209143 [details]
Patch to support multiple source directories

I came across this issue with maven and noticed that the maven plugin does not pass multiple directories to the compiler. You are right, the compiler itself supports multiple directories. Only the maven plug-in does not. See the attached patch for a possible solution. I verified this patch in a local tycho/mvn build. 

Please reopen this issue.
Comment 3 Sven Efftinge CLA 2012-01-08 02:09:47 EST
Thanks! Feel free to reopen yourself next time.
Comment 4 Michael Clay CLA 2012-01-22 10:30:29 EST
pushed to master
Comment 5 Eclipse Webmaster CLA 2017-10-31 11:07:12 EDT
Requested via bug 522520.

-M.
Comment 6 Eclipse Webmaster CLA 2017-10-31 11:18:39 EDT
Requested via bug 522520.

-M.