Adding package to Java project structure

eclipse, java, package, project

Solution

A refresh is sufficient after you have dropped the new source files inside the source folder. No need to add a new source folder.

The clean way to collaborate is to use a version control system, like Subversion, git, or whatever. Copying files between developers is a recipe for chaos.

Problem

I have been working on a project locally and at some point I gave the project to someone else to work on. Since that time, I have created another package with classes and so on in my own project version. Since I want the other person to have this package, I gave him the package folder which he copied in the path ProjectName/src/packageName. Of course, he didn't see it right away, so I used New->Source Folder and refresh/clean/pray to make it work. The question is: is there some other way to add packages to projects? as I'm not sure this is the right solution.

Original source