[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Re: RE: [Subclipse-dev] Bug introduced with 1.1.9 - LockDialog

From: Thomas M. Hofmann <email_at_thomashofmann.com>
Date: 2006-12-11 22:38:50 CET

Please try the attached patch. I still think the validator for the files not managed should only get the ones passed that are not managed.
The patch is not based on your latest submission since I did not read your mail before I tried to change it myself.


From: Mark Phippard [mailto:markphip@gmail.com]
Sent: Mon 11.12.2006 22:31
To: dev@subclipse.tigris.org
Subject: Re: Re: RE: [Subclipse-dev] Bug introduced with 1.1.9 - LockDialog

On 12/11/06, Mark Phippard <markphip@gmail.com> wrote:

        On 12/11/06, Thomas M. Hofmann <email@thomashofmann.com > wrote:

                Hi again,
                I just updated and debugged the code.
                The isReadOnly method does not what it should. file.getFullPath().toFile(); evalutes to a path that is missing the workspace root an thus is always treated as read only.

        Do you know of any other way to get a File from an IFile? I can do it using classes we have in Subclipse, but it would only work for managed files, and this needs to work for unmanaged files too,

I got the isReadOnly() method working correctly now. I suspect that this part was a waste of time and that the method from IFile is probably correct too, but now it is using java.io.File correctly.

Please test the latest


To unsubscribe, e-mail: dev-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: dev-help@subclipse.tigris.org

Received on Mon Dec 11 22:51:54 2006

This is an archived mail posted to the Subclipse Dev mailing list.