eclipse is starting the application in ~ instead of other directories
I'm starting my application for the first times and started to use log4j. I found interesting that it couldn't see the log4j.properties I had set up, so I'm printing System.getEnv("PWD") and it's always set in my home instead of other directories (even if I change the directory in the application's running environment configuration. Why is that?
Thanks in advance.
PS If I try running the application by hand sitting at the project's directory, it can see the log4j.properties file without problems.
Last edited by eantoranz; 09-14-2012 at 12:10 PM.