-
May 4th, 2007, 11:11 AM
#1
packaging question
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
package com.sprinttest;
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
#2
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules