How do I add a classpath in run configuration?
Sometimes I want to add a class path in a run configuration. A use case is I want to add the working directory"." to the classpath, so the program can pick up certain configuration files such as log4j.properties. I cannot add -cp . to the VM Parameters box because that seems to overwrite the default classpath. Does anyone know how I can achieve this?
My question is very similar to this post,
http://www.jetbrains.net/devnet/message/5207294#5207294
but junit was mentioned there and mine is not related to junit. Also I thought I would explain my problem better in a separate thread.
请先登录再写评论。