you see, i have a GWT Java project in Eclipse that works with a database. The project is divided into 3sub- (server, client and gwt code compiled). All ok. Now, i had to create the same project but to work with another database (of course same structure). I copy the 3sub projects and i create a new project. Then, i go to database.properties file, which is where I have the route database, and i change the route.
And here comes the problem. When i run the new project, i dont know why, but access to old file database.properties, which I am accessing the old database.
What is the problem? I copied the wrong project? can be references for each subproject? as I watch that?
It seems that you did not change all of the database configuration files. Of course without seeing exactly what you did, and how you access the database, it is hard to tell. Any source and details you can provide would be helpful.
I have never had any issues with creating new projects by copying existing project. All I have had to do is modify the project name in the .project file before importing the new project. Of course, if any code of configuration options in your source code depend on hard-coded file locations, your new code could be accessing files in the old location. Temporarily removing the old projects might help in debugging this issue.