I feel like a schmuck for asking this, but I'm tired of guessing.
I'm running a simple java program from the IntelliJ IDE using the Run->Run menu. No problem, it works fine. Now I want to add log4j logging.
I added a resources folder under my project root. I added a log4j.properties file in that folder. I changed the code to log something.
What is the right way to tell intellij to include the resources folder in the classpath so the properties file is seen?
With Intellij 8 I could guess like a drunk monkey and eventually get it to work. I have 9 now and I am wholly unsuccessful. I've been trying for an hour. I really hate this part of intellij. How about an "Add to classpath" option somewhere? /fume /vent /rant