Eclipse – How to Add Existing Files / Folders to Eclipse

eclipse

I have a folder structure like this in eclipse for my project,

Application
-- assets
   -- www
      -- phonegap.js
-- res
   -- xml
      -- phonegap.xml

The problem is that the phonegap.js file has been copied onto disk, but is not in the project. Also the xml folder has been copied onto disk but not in the project.

How can I import these into the project? In VS you can just go 'Add -> Existing Item'

I tried to 'Import -> General -> File System' but this seems to add a link to my file / folder as though it is not in the project.

Best Answer

I see. It is as simple as selecting 'File -> Refresh' and they are added.

http://www.velocityreviews.com/forums/t259737-eclipse-how-to-add-file-to-project.html