[p4] Indicator for Modified Files on Eclipse?

Jeff Jensen jjensen at apache.org
Wed May 23 20:07:36 PDT 2007


Regretfully the plugin does not auto-refresh the Perforce files status.  If
you manipulate files outside of Eclipse, then to have the Eclipse plugin
display the correct status, you must manually do Team -> Refresh (on a file,
directory, or project).

A year or two ago, I requested a P4WSAD enhancement to auto-refresh the
status in a background thread, with a configurable frequency.  Please email
support at perforce.com to also request this feature.


-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Hei Chan
Sent: Wednesday, May 23, 2007 3:13 PM
To: briancolfer at comcast.net
Cc: perforce-user at perforce.com
Subject: Re: [p4] Indicator for Modified Files on Eclipse?

I think that in Eclipse, if I edit the file, it is automatically
checked-out.
I use p4v to view the file, it is marked as checked-out as well.
If I use Eclipse with CVS, I can just do a update, the "modified
decorator(an right arrow)" will disappear if there is no difference between
my local copy and the copy in the repository.
I just wonder whether there is a way to make the check-out sign (red-check)
disappear if there is no difference between my local copy and the copy in
the repository.
Any idea?


Cheers,
Hei
----- Original Message ----
From: "briancolfer at comcast.net" <briancolfer at comcast.net>
To: Hei Chan <structurechart at yahoo.com>
Sent: Wednesday, May 23, 2007 8:51:43 AM
Subject: Re: [p4] Indicator for Modified Files on Eclipse?


So its not checked out in perforce?

Use the 'check consistancy' menu item in the team menu
Sent via BlackBerry from Cingular Wireless

-----Original Message-----
From: Hei Chan <structurechart at yahoo.com>
Date: Tue, 22 May 2007 17:48:13
To:briancolfer at comcast.net, perforce-user at perforce.com
Subject: Re: [p4] Indicator for Modified Files on Eclipse?

Yes, next to the name of the file is stated "<edit>". =(


----- Original Message ----
From: "briancolfer at comcast.net" <briancolfer at comcast.net>
To: Hei Chan <structurechart at yahoo.com>
Sent: Tuesday, May 22, 2007 4:41:15 PM
Subject: Re: [p4] Indicator for Modified Files on Eclipse?


Is it stll marked for edit?

Sent via BlackBerry from Cingular Wireless

-----Original Message-----
From: Hei Chan <structurechart at yahoo.com>
Date: Tue, 22 May 2007 10:51:01
To:Jay Glanville <Jay.Glanville at naturalconvergence.com>
Cc:perforce-user at perforce.com
Subject: Re: [p4] Indicator for Modified Files on Eclipse?

I have followed your steps and played around.
I found that Eclipse put a red-check on the top right corner after I made
some changes without checking-in.  However, after I reversed the changes to
match the original file in the repository, the red-check didn't go away.
Is there away to make it go away if the local file is in-sync with file in
the repository?
Thanks in advance.


Cheers,
Hei

----- Original Message ----
From: Jay Glanville <Jay.Glanville at naturalconvergence.com>
To: Hei Chan <structurechart at yahoo.com>; perforce-user at perforce.com
Sent: Tuesday, May 22, 2007 5:34:18 AM
Subject: RE: [p4] Indicator for Modified Files on Eclipse?


I believe that label decorators are not on by default with P4WSAD.  We tell
our developers to do the following after installing the p4 plugin:

Eclipse -> Preferences:
  General → Appearance → Label Decorators, enable Perforce
  Team → Perforce, configure as desired
  To set the perforce status icons to the same as you’d see in P4V or
P4Win, Team → Perforce → Label Decorators → File Decorator Icons:
    Indicators for files open for add/edit/delete = top left
    Indicators for files synced to head = bottom right
    Indicators for files not synced to head = bottom right
    Indicators for unresolved files = bottom left
    Indicators for locked files = bottom left
    Indicators for files open in other workspaces = top right

---
Jay Dickon Glanville



> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of Hei Chan
> Sent: May 22, 2007 1:14 AM
> To: perforce-user at perforce.com
> Subject: [p4] Indicator for Modified Files on Eclipse?
>
>
> Hi,
>
> I am new to Perforce and its Eclipse plugin.
>
> Today, I have installed Perforce's Eclipse plugin and checked
> out some files.  I modified some of the files, however, I
> didn't see any indication that the files have been modified.
>
> When I used Eclipse with CVS, if I modified a local copy,
> there would be an right arrow that indicated the local copy
> had been modified.
>
> Does Perforce's Eclipse plugin have a similar feature?
>
> Thanks in advance.
>
>
> Cheers,
> Hei
>
>
>
>
>
> ______________________________________________________________
> ______________________Pinpoint customers who are looking for
> what you sell.
> http://searchmarketing.yahoo.com/
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>



____________________________________________________________________________
________
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367
_______________________________________________
perforce-user mailing list  -  perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user



____________________________________________________________________________
________Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC



____________________________________________________________________________
________Pinpoint customers who are looking for what you sell.
http://searchmarketing.yahoo.com/
_______________________________________________
perforce-user mailing list  -  perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user




More information about the perforce-user mailing list