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

RE: [Subclipse-users] Issue with RAD 7 generated code

From: Acheson, Douglas <douglas.acheson_at_rbc.com>
Date: Thu, 3 Jul 2008 18:36:03 -0400

An update. I have made a change to the org.tigris.subversion.subclipse.core.resources.LocalResource class specifically lines (104 to 106) which has this logic :

  if (resource.isDerived() || resource.isTeamPrivateMember() || resource.isLinked() ) {
   return true;
  }

I changed it to this :

  if ((resource.isDerived() && !this.ignoreDerived()) || resource.isTeamPrivateMember() || resource.isLinked() ) {
   return true;
  }

I created a private method (ignoreDerived()) the does the same logic as code in the MoveDeleteHook to check for a SVNProperty that indicates to ignore the derived property of a file. This seems to work somewhat. I now get the files getting decorated, but they are decorated with the questions mark (the un-versioned resource icon). Why would that be? Any help would be appreciated.

dwfa
-----Original Message-----
From: Acheson, Douglas
Sent: 2008, July, 03 2:07 PM
To: users_at_subclipse.tigris.org
Subject: RE: [Subclipse-users] Issue with RAD 7 generated code

Okay so after much debugging I see that RAD 7 does update a file and the hook for modification notification is being invoked FileModificationManger and the inner anonymous Vistor class. There are no errors in the Error Log. I am now putting break points in the SVNLightWeightDecorator to see if that gets invoked. I hope that is the right class it should be invoked from DecorationBuilder - can you plz confirm this?

Thx a bunch
dwfa

-----Original Message-----
From: Mark Phippard [mailto:markphip_at_gmail.com]
Sent: 2008, July, 03 10:52 AM
To: users_at_subclipse.tigris.org
Subject: Re: [Subclipse-users] Issue with RAD 7 generated code

On Thu, Jul 3, 2008 at 10:46 AM, Acheson, Douglas <douglas.acheson_at_rbc.com> wrote:
> I did have it on the delete folder and it did not stop. As for the
> derived property it was not set. I am thinking maybe that they might
> an external tool like ANT (or such) to do the work (just a thought).
>
> Is it possible to force a resync (just like when you delete and
> import) 'cause that solves the problem (sorta a hack I know - but
> throwing it out there).

Generally using external tools is not a problem as long as Eclipse is refreshed after. I regularly drag and drop files into filesystem etc.

Have you looked for errors in the Error Log? Sometimes when the decorator code gets an error it just stops updating all decorators.

--
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
_______________________________________________________________________
This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations.
Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized.
If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately.  
Ce courrier électronique est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent.
Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite.
Si vous recevez ce courrier électronique par erreur, veuillez m'en aviser immédiatement, par retour de courrier électronique ou par un autre moyen.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
_______________________________________________________________________
This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations.
Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized.
If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately.  
Ce courrier électronique est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent.
Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite.
Si vous recevez ce courrier électronique par erreur, veuillez m'en aviser immédiatement, par retour de courrier électronique ou par un autre moyen.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-07-04 00:36:47 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.