Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse package explorer empty

I'm new to Eclipse, and I can't seem to get the package explorer to cooperate. Here is my current file tree:

└───workspace
    ├───bin
    │   └───var
    ├───res
    │   └───gui
    └───src
        └───var
            └───all of my source code

I attempted to start a workspace in the current tree, \workspace, \workspace\src, and workspace\src\var. All resulted in an empty package explorer. I have tried Eclipse Indigo, Juno, Classic Indigo, and Classic Juno, with no success. Can anyone offer help?

like image 473
Code Monkey2 Avatar asked Dec 21 '12 15:12

Code Monkey2


2 Answers

Maybe a little late, but i found a solution to this problem! Just right click on the explorer, select import, then in general select Existing project into workspace then find the root folder of your project and it should import it just fine. Well, worked for me anyways ;)

like image 127
Ludwik Avatar answered Sep 28 '22 06:09

Ludwik


  1. Rightclick on your Project
  2. select 'Properties'
  3. 'Java Build Path'
  4. select tab 'Source'
  5. Button 'Add Folder'
  6. add your source folder / all your source folders
like image 43
MrSmith42 Avatar answered Sep 28 '22 07:09

MrSmith42