Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multi-platform CVS Problem



I'd like to ask for some help on a CVS problem we're encountering in our multi-platform Java environment:

The situation:

Most developers on our team are using Mac OS X and PB for Java development, one uses Windows.

We've got our cvs repository on a Windows 2000 server. (That's what the IT folks provide by default as a file server.)

The Mac folks mount the appropriate server volume, using smb, to use the cvs repository.

The problem:

Once a Windows user commits a file, the Mac users can't commit their versions. Macs can deal with Mac-committed files OK; Windows can deal with Mac-committed files OK.

The error seen on a commit attempt by Mac users, both in terminal sessions and within PB, is "cannot rename /<Path-to>/ ,<filename>, to /<Path-to>/<filename>,v" In other words, cvs can't delete the original cvs repository file and then change the name of the new version of the file from its temporary format to the repository format.

Some web-searching and experimentation has shown the culprit to be the read-only status of the repository file. When Windows cvs touches the file, it becomes read-only. When Mac cvs touches it, it doesn't. One can't delete or rename (or both) a read-only file on the Windows server from Mac OS X. Removing by hand the read-only status of a Windows-committed file on the server allows a Mac to commit its version.

Does anyone have a solution for this? Some setting on the server or on the Mac? A newer version of cvs? (The stock OS X 10.2.6 version is not the latest.) Do we have to set up an entirely different environment (a Unix server, e.g.)?

I realize that this is really a CVS problem, not a PB one, but I can't think of another forum more likely to have seen it and maybe have an answer.

Thanks very much,

- John Gersh
_______________________________________________
projectbuilder-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/projectbuilder-users
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.