Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Dynamic Source Folders(How to dynamically set different source folders based on a configuration properties file)
Dynamic Source Folders [message #1237710] Thu, 30 January 2014 11:45
Blank Reg is currently offline Blank RegFriend
Messages: 4
Registered: September 2011
Junior Member
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
Previous Topic:JAVA obsolete methods
Next Topic:Luna release: casting problem
Goto Forum:
  


Current Time: Thu Mar 28 19:36:44 GMT 2024

Powered by FUDForum. Page generated in 0.02552 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top