[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Sorting out folder madness

D. Alvarado wrote:
Hi,

I'm using Eclipse 3.4 on WinXP. I created a Java project (named RoutingEngine), an ejb folder within that, and a src folder within that. Then I created a Java class. But in my Package Explorer view, what is displayed is

- RoutingEngine
    - ejb
         + src.com.myco.nps.re


where "com.myco.nps.re" is the package containing the Java class. But I would prefer the folder structure look like


- RoutingEngine
    - ejb
         - src
              + com.myco.nps.re

How can I break up the "src.com.myco.nps.re"?
Open the Package Explorer. Select the 'src' folder and then from the context menu: Build Path > Use as Source Folder. In addition, you can remove 'ejb' if it is not a source folder via Build Path > Remove from Build Path.

Dani
  Thanks, - Dave