I have a classpath issue. My app folder is C:/agent I have src packages that start with com.abc and also few config files under my app folder. I have archived them as agent.jar so that compiled classes in com.abc package and files under config folder are archived into agent.jar.
Therefore the folder structure is something like following:-
I understand that classpath spec needs to have file-path and not file. It was my mistake to write it that way in forum post.
Actually the second file too is "resources.properties". I mistakenly gave the different name. Infact I want to use a new value from new file instead of old value from config file in the agent.jar file. Thats the reason the filenames in the C:\agent\config folder and C:\agent2\config is same.
1. Please change the Original message (so that others may able to answer your question too)
2. If the file resources.properties is indeed being supposed to be read from two places, why did you pack it into agent.jar ??
if you do not do so (i havent tried), i guess it would work fine, try it and let me know