Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Connecting to network drive on Mac
Connecting to network drive on Mac [message #529682] Mon, 26 April 2010 14:12 Go to next message
Eclipse UserFriend
Hi,
I have used Eclipse on Windows for a long time with no problem. My workspace has always been on a mapped network drive.

Now, I am using a Mac on the same network and Eclipse cannot connect to my workspace. It keeps saying "Workspace is in use or cannot be created".

Any ideas? Many thanks.
Re: Connecting to network drive on Mac [message #529690 is a reply to message #529682] Mon, 26 April 2010 15:00 Go to previous messageGo to next message
Eclipse UserFriend
Are your trying to access the same workspace in two different machines? That won't work as one workspace can only be accessed by one instance of Eclipse.

If you have Eclipse opened in one machine, close it and then try opening it on the second machine again.
Re: Connecting to network drive on Mac [message #529694 is a reply to message #529690] Mon, 26 April 2010 15:22 Go to previous messageGo to next message
Eclipse UserFriend
No. I am not trying to access the same workspace from two machines simultaneously. I understand how that would not work. I was just saying it is the same workspace that I can access from Windows and not from Mac.
Re: Connecting to network drive on Mac [message #529705 is a reply to message #529694] Mon, 26 April 2010 16:05 Go to previous messageGo to next message
Eclipse UserFriend
After searching around for a while I found this post:
http://www.coderanch.com/t/476114/IDEs-Version-Control-other -tools/help-sharing-one-Eclipse-workspace

Maybe you're having the same problem. The .metadata directory may contain paths to driver letters like "C:" or stuff like that. That wouldn't work on *nix machines, including Mac OS.

So maybe you should only share project information (and not workspaces), following this advice: "It really isn't that good an idea to share the ".metadata" folder, since its particular purposes in life is precisely to store the machine-local information. In fact, user-specific machine local information. Sharable information in eclipse is in the .project and .classpath files. And more recently, in hidden directories, depending on the nature of the project. "

I've been programming in a dual OS environment for a while using Dropbox and pendrives to share project code, but I've never shared my full workspace.
Re: Connecting to network drive on Mac [message #529709 is a reply to message #529705] Mon, 26 April 2010 16:53 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
First it sounded like the answer. But, I created a new, blank folder on my network drive and tried to access it as a new workspace from Eclipse on Mac. I got the same error message: "Workspace in use or cannot be created"
Re: Connecting to network drive on Mac [message #529728 is a reply to message #529709] Mon, 26 April 2010 21:21 Go to previous messageGo to next message
Eclipse UserFriend
Seems like a permission problem.
I tested the following in my Mac:
- created a folder
- changed its permissions to read-only
- tried to create a workspace using it.

I got the exact same message as you. Have you tried to change the permission on the folder? Did you created it on Mac or on Windows? You can change the permissions selecting the folder and "Command+i" or using Terminal with the chmod command.
Re: Connecting to network drive on Mac [message #529814 is a reply to message #529728] Tue, 27 April 2010 07:00 Go to previous message
Eclipse UserFriend
Still not working.
Made a folder using my Mac.
Sharing and Permission says: You can read and write.
But still I get the same message.
Previous Topic:Accessing a selected Java file in a multipage editor
Next Topic:Eclipse does not detect USB Bluetooth Device
Goto Forum:
  


Current Time: Fri Mar 28 06:27:19 EDT 2025

Powered by FUDForum. Page generated in 11.58720 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top