Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] Locking the workspace on the Mac

re:class library
Routing around I saw this:
https://issues.apache.org/jira/browse/JCR-933
http://forums.sun.com/thread.jspa?forumID=535&threadID=5303959

I aslo notice that the tests are passing on linux with 1.6.

-Simon

Inactive hide details for John Arthorne---01/11/2009 03:39:37 PM---That's the place. In particular Locker_JavaNio, since LockerJohn Arthorne---01/11/2009 03:39:37 PM---That's the place. In particular Locker_JavaNio, since Locker_JavaIo only works on Windows. If that's not working, it sounds lik


From:

John Arthorne/Ottawa/IBM@IBMCA

To:

"General development mailing list of the Eclipse project." <eclipse-dev@xxxxxxxxxxx>

Date:

01/11/2009 03:39 PM

Subject:

Re: [eclipse-dev] Locking the workspace on the Mac





That's the place. In particular Locker_JavaNio, since Locker_JavaIo only works on Windows. If that's not working, it sounds like a bug in the class library because FileChannel#tryLock is supposed to implement cross-process locking. I suggest trying a simple test case with FileChannel#tryLock on Mac to see if it's working.



Pascal Rapicault/Ottawa/IBM@IBMCA
Sent by: eclipse-dev-bounces@xxxxxxxxxxx

01/09/2009 11:21 PM

Please respond to
"General development mailing list of the Eclipse project." <eclipse-dev@xxxxxxxxxxx>
To
"General development mailing list of the Eclipse project." <eclipse-dev@xxxxxxxxxxx>
cc
Subject
[eclipse-dev] Locking the workspace on the Mac




I'm wondering if someone can point me at the code we use to lock the workspace on the Mac?
I thought this was done using the BasicLocation#lock() method I'm trying to use this in another context and it is failing.

Thx

PaScaL
_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev
_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev


GIF image

GIF image


Back to the top