• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Eclipse question -- .project and .metadata

 
Ranch Hand
Posts: 375
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I created a project in c:\dir_1\ workspace, and when i create it, i choose "create from an existing source", and from there I browse to and pick c:\dir_2\ where I store a lot of source code. So the project "mypj" is created in c:\dir_1 workspace.

Next time when i open eclipse, it by default asks me to open from c:\dir_1 workspace and I hit yes, it shows the "mypj" project. However, when I check the file system I found that

1. in c:\dir_1 (workspace) there is only ".metadat" folder.
2. the .project is located in c:\dir_2.

So, how can .project NOT located in its workspace folder (C:\dir_1) ? Is ".project" supposed to be in the same folder as ".metadata" ?
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, the .project file is supposed to be in your project's root folder. A project's root folder doesn't need to be located in the workspace folder.

With other words, everything is just fine...
 
reply
    Bookmark Topic Watch Topic
  • New Topic