[p4] Indicator for Modified Files on Eclipse?
Hei Chan
structurechart at yahoo.com
Thu May 24 20:25:22 PDT 2007
So here is what I did:
- Used P4V to get the latest revision of A.java from the repository
- Used Eclipse to open A.java
- Added a space to one of the comments and saved it. At this point, there was a red-check on the top left corner.
- Then, I removed the space manually and saved, and I did a team-refresh. The red-check was still on the top left corner.
- Then, I did a diff, it said no difference.
I will try out your suggestion #2 at work tomorrow.
Thanks.
Cheers,
Hei
----- Original Message ----
From: Jeff Jensen <jjensen at apache.org>
To: Hei Chan <structurechart at yahoo.com>
Cc: perforce-user at perforce.com
Sent: Thursday, May 24, 2007 3:42:07 PM
Subject: RE: [p4] Indicator for Modified Files on Eclipse?
Well, probably something else is a problem...me/my team has not experienced
that issue (have about 45 Perforce users using P4WSAD). You can still have
a file checked out with no changes, so the diff does not apply.
To help diagnose:
1. What did you do to revert the checkout?
2. Open the P4Log Eclipse view and view it. Then do the Team -> Refresh and
review the messages in the P4Log. Perhaps an error message displays...
-----Original Message-----
From: Hei Chan [mailto:structurechart at yahoo.com]
Sent: Thursday, May 24, 2007 4:01 PM
To: Jeff Jensen
Cc: perforce-user at perforce.com
Subject: RE: [p4] Indicator for Modified Files on Eclipse?
Umm...I tried to manually team->refresh on a file, the
status is still "check out" although I have already
revert the changes back. When I did team->diff
file(s) against depot, it said that there was no
difference. But the check-out sign is still there.
Am I missing something?
Thanks in advance.
Cheers,
Hei
--- Jeff Jensen <jjensen at apache.org> wrote:
> 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
> >
>
=== message truncated ===
____________________________________________________________________________
________Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's
updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
____________________________________________________________________________________Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469
More information about the perforce-user
mailing list