Garrett
Garrett

Reputation: 11725

Eclipse PHP Zend: "workspace in use" when i try to set my workspace in Apache2/htdocs?

i am trying to use my workspace C:\Program Files (x86)\Zend\Apache2\htdocs, as i need to in order to use my Zend Server, but i get the error "workspace in use"

i have:

any idea as to what the problem can be? and how to fix it :D

thanks!

Upvotes: 3

Views: 1362

Answers (3)

Lazadon
Lazadon

Reputation: 193

I think deleting .metadata will cause you to lose your tracked projects. Im not positive though ( don't really want to test it haha). However if you go in that folder (WORKSPACE/.metadata/) and delete the .lock file it should allow you to open the workspace. Hope this helps!

Upvotes: 2

Nav
Nav

Reputation: 20658

Just offering two other solutions for anyone who faces the workspace issue and ends up on this page. This is one solution and the other solution is if you were working on eclipse by connecting to a server via ssh. In this case, the ssh might time out and your eclipse process would still be active on the server. Solution is: Type ps -aef | grep eclip Find the process number of eclipse and type kill -9 process number

Upvotes: 1

homelessDevOps
homelessDevOps

Reputation: 20726

Check your workspace directory for :

  • .metadata and delete it (can be hidden in your explorer)
  • .version.ini , open it an delete all entrys

Upvotes: 3

Related Questions