Skip to main content



      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 06:45
Eclipse UserFriend
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: Fri Apr 18 13:20:51 EDT 2025

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

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

Back to the top