Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » Tricky question related to commit / check out action
Tricky question related to commit / check out action [message #497522] Fri, 13 November 2009 08:26 Go to next message
Sanghyun  is currently offline Sanghyun Friend
Messages: 3
Registered: November 2009
Junior Member
I just have a very short question:

Is there any way to distinguish "ResourceChangedEvent" occuring from direct modification of files (e.g. deletion/addition) and those occuring from checking out / committing files from SVN repository?

I'm aware that a similar question arose back in 2005 but at that time the general consensus was that it's not possible. I'm wondering if there was any progress regarding this issue at this point.

Thank you in advance for those reading this thread ! I appreciate it.
Re: Tricky question related to commit / check out action [message #498277 is a reply to message #497522] Mon, 16 November 2009 10:14 Go to previous messageGo to next message
Igor Burilo is currently offline Igor BuriloFriend
Messages: 435
Registered: July 2009
Senior Member
Hello,

Could you please clarify following: you need to distinguish cases where you
manually modify files and cases where files are modified by Subversive, e.g.
by Updating, Reverting etc.? Could you please provide examples and why do
you need, probably your problem can be solved in another way?

>I'm aware that a similar question arose back in 2005
Did you discuss it with Subversive team? If it's possible could you please
provide a link to this discussion, in order to duplicate all of its notes
here?

>I just have a very short question:
>
> Is there any way to distinguish "ResourceChangedEvent" occuring from
> direct modification of files (e.g. deletion/addition) and those occuring
> from checking out / committing files from SVN repository?
>
> I'm aware that a similar question arose back in 2005 but at that time the
> general consensus was that it's not possible. I'm wondering if there was
> any progress regarding this issue at this point.
> Thank you in advance for those reading this thread ! I appreciate it.
Re: Tricky question related to commit / check out action [message #498889 is a reply to message #498277] Thu, 19 November 2009 01:31 Go to previous messageGo to next message
Sanghyun  is currently offline Sanghyun Friend
Messages: 3
Registered: November 2009
Junior Member
Thank you for your attention Mr. Burilo,

I will further clarify my question:

>Could you please clarify following: you need to distinguish cases where you manually modify files and cases where files are modified by Subversive, e.g. by Updating, Reverting etc.?

You're exactly right. I want to distinguish resource event from check out / update (SVN) action and that from copy&paste/editor action (local). By doing so, I would like avoid "build" action whenever the resource event occurs from SVN action. Moreover, if it's possible to distinguish them, I could then use a flag in my program to notify events from SVN action and then introduce process of my own (e.g. new action) just before/after the SVN action.

>Did you discuss it with Subversive team? If it's possible could you please provide a link to this discussion, in order to duplicate all of its notes here?

No I have not discussed this with the Subversive team yet. And I apologize but I'm not sure where the exact link is because I heard this fact from another person who only had a very vague idea.
Re: Tricky question related to commit / check out action [message #499160 is a reply to message #498889] Fri, 20 November 2009 08:24 Go to previous messageGo to next message
Igor Burilo is currently offline Igor BuriloFriend
Messages: 435
Registered: July 2009
Senior Member
Hello,

Unfortunately, I don't know how to distinguish Subversive events from other
ones. Buf if I find solution, I'll write you.

> Thank you for your attention Mr. Burilo,
> I will further clarify my question:
>
>>Could you please clarify following: you need to distinguish cases where
>>you manually modify files and cases where files are modified by
>>Subversive, e.g. by Updating, Reverting etc.?
>
> You're exactly right. I want to distinguish resource event from check out
> / update (SVN) action and that from copy&paste/editor action (local). By
> doing so, I would like avoid "build" action whenever the resource event
> occurs from SVN action. Moreover, if it's possible to distinguish them, I
> could then use a flag in my program to notify events from SVN action and
> then introduce process of my own (e.g. new action) just before/after the
> SVN action.
>
>>Did you discuss it with Subversive team? If it's possible could you please
>>provide a link to this discussion, in order to duplicate all of its notes
>>here?
>
> No I have not discussed this with the Subversive team yet. And I apologize
> but I'm not sure where the exact link is because I heard this fact from
> another person who only had a very vague idea.
Re: Tricky question related to commit / check out action [message #499519 is a reply to message #499160] Mon, 23 November 2009 08:05 Go to previous message
Sanghyun  is currently offline Sanghyun Friend
Messages: 3
Registered: November 2009
Junior Member
That's very kind of you. I'll look forward to any kind of help you could give me.

Igor Burilo wrote on Fri, 20 November 2009 03:24
Hello,

Unfortunately, I don't know how to distinguish Subversive events from other
ones. Buf if I find solution, I'll write you.

> Thank you for your attention Mr. Burilo,
> I will further clarify my question:
>
>>Could you please clarify following: you need to distinguish cases where
>>you manually modify files and cases where files are modified by
>>Subversive, e.g. by Updating, Reverting etc.?
>
> You're exactly right. I want to distinguish resource event from check out
> / update (SVN) action and that from copy&paste/editor action (local). By
> doing so, I would like avoid "build" action whenever the resource event
> occurs from SVN action. Moreover, if it's possible to distinguish them, I
> could then use a flag in my program to notify events from SVN action and
> then introduce process of my own (e.g. new action) just before/after the
> SVN action.
>
>>Did you discuss it with Subversive team? If it's possible could you please
>>provide a link to this discussion, in order to duplicate all of its notes
>>here?
>
> No I have not discussed this with the Subversive team yet. And I apologize
> but I'm not sure where the exact link is because I heard this fact from
> another person who only had a very vague idea.

Previous Topic:Connector discovery - availability
Next Topic:Subversive on 64-bit Windows JDK
Goto Forum:
  


Current Time: Fri Nov 28 20:49:32 GMT 2014

Powered by FUDForum. Page generated in 0.02193 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software