Run Configuration Classpath & XML files


I am trying - unsucessfully - to mimic the way my co-workers use Eclipse to run an application. I have added a directory outside the project to the module libraries (F4 on module -> Libraries -> Add files or directories -> classes/jar directory AND same with souces) but only the jar files seem to be correctly added to the classpath, any spring xml configuration files are not being added and as a result when the run config is executed I get FileNotFoundExceptions.

Is there anyway to add all the files in a directory to the classpath so that I can execute the main method in this class and have it run with the correct classpath?


Please sign in to leave a comment.