Dynamic Source Folders [message #1237710] |
Thu, 30 January 2014 06:45 |
Eclipse User |
|
|
|
I have a Java web application that is used by lots of different customers.
Each customer has their own source folder for different source and configuration (e.g. xml) files.
Is it possible to dynamically add and remove those source folders to eclipse when the 'current' customer is changed in a configuration.properties file?
I am building with ant and would rather not have to refactor the project to use maven (at the moment). I can just copy the customer files into the global source folders using ant, and while this works for compiling those files they can't be edited (since they will be overwritten at the next build).
I guess the alternative is making every customer sub folder (80 or so) a source folder and only compiling the 'current' customer but that seems a bit over the top? Will eclipse handle that many source folders?
Blank Reg
|
|
|
Powered by
FUDForum. Page generated in 0.02876 seconds