I have two projects in Eclipse and one has the class which has the 'main' function. Let's call this project as 'A'. And in this 'main' function, it instantiate a class in another project. Let's call this project and and the class, 'B' and 'C' respectively. In class 'C', it tries to load a RESOURCEFILE from the project 'B' by using 'System.property("user.dir")".
When I try to run this application from the project 'A', it can't get the RESOURCEFILE opened which is in project B because the working directory is in project 'A'. But I need to put the file in project 'B'.
I don't what is the best way to get this problem solved. Do I need to pass the information of the project B when I am running this application? I am totally lost..
I will wait for someone's help!
gim