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() ) {
I changed it to this :
if ((resource.isDerived() && !this.ignoreDerived()) || resource.isTeamPrivateMember() || resource.isLinked() ) {
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
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
-----Original Message-----
On Thu, Jul 3, 2008 at 10:46 AM, Acheson, Douglas <douglas.acheson_at_rbc.com> wrote:
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.orgReceived 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.