Adding an existing file to a project?

2007-11-09
2013-05-20
  • Earl Harris
    Earl Harris
    2007-11-09

    To add an existing file to a Perl project in Eclispe+Epic, I had to do a File->New->File and type the file name in the given dialog box. However, I expected an open dialog box, where I could click on the list of existing files. Is there a more natural way to add an existing file to a project?

    I'm new to Eclipse.

     
    • Jan Ploski
      Jan Ploski
      2007-11-09

      The easiest way would be to specify an existing directory (with your files) when creating project. (You can have projects outside of the workspace directory.)

      Or you can just copy all your files to wherever your project directory is located. Then right-click on the project name in Eclipse and choose 'Refresh' to synchronize the view with the actual contents of the file system.