May 4th, 2007, 11:11 AM
whyo does EVERY folder added to an eclipse project have to be apart of a package..for example i have a project with
Project - /src/com/sprinttest - contains my source code
but i dont want 'src' to be a part of the package ie
not pacakge src.com.sprinttest;
but eclipse wont let me do this..why?
i usually work from the command line and i like to seperate my code by folders, but i dont want my class files to be packaged with a 'src' package
what can i do?
May 5th, 2007, 07:39 AM
Java Build Path not set correctly
Set your source directory in your Java Build Path in "project preferences".
Point it at the src directory and your packages will be understood to be in src with com as the start of the package name.