Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Eclipse question -- .project and .metadata

Ranch Hand
Posts: 375
  • Mark post as helpful
  • send pies
  • 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" ?
Posts: 14112
  • Mark post as helpful
  • send pies
  • 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...
For my next feat, I will require a volunteer from the audience! Perhaps this tiny ad?
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!