View previous topic :: View next topic |
Author |
Message |
sheitman
Joined: 27 Apr 2010 Posts: 98
|
Posted: Sun Jul 24, 2011 9:01 am Post subject: |
|
|
Infralution wrote: | You are right. I think we missed the fact that if you use "Rebuild non-Invariant resx files" you may need to handle the Delete possibility. If the file gets deleted and then recreated then it should (in my opinion) just fire the Modify events (not the delete event) since it is essentially just re-writing the file. Would this work for you?
If this is OK we will try to get an update out as soon as possible. |
yes, this will work for me.
if a file is deleted and not recreated (if this situation is possible) i would need a simple delete event.
what about the proj files. you fire events for their modification too? |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Mon Jul 25, 2011 1:55 am Post subject: |
|
|
Yes the file modify events fire for the visual studio project file when Globalizer changes it. _________________ Infralution Support |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Mon Jul 25, 2011 9:57 am Post subject: |
|
|
We have just released Version 3.0.1 of Globalizer. This adds custom events for Delete Files and also fixes some other issues with the wrong event being fired in some circumstances. _________________ Infralution Support |
|
Back to top |
|
|
sheitman
Joined: 27 Apr 2010 Posts: 98
|
Posted: Mon Jul 25, 2011 1:34 pm Post subject: |
|
|
Thank you very much. I will test the whole event based tfs integration and let you know if it works or not^^ |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Mon Jul 25, 2011 10:17 pm Post subject: |
|
|
Maybe you could post your event scripts so that others wish to integrate with TFS can use them. _________________ Infralution Support |
|
Back to top |
|
|
sheitman
Joined: 27 Apr 2010 Posts: 98
|
Posted: Tue Jul 26, 2011 4:57 pm Post subject: |
|
|
Infralution wrote: | Maybe you could post your event scripts so that others wish to integrate with TFS can use them. | Yes I will. However have to wait for the vacation returnees to get the upgraded license |
|
Back to top |
|
|
sheitman
Joined: 27 Apr 2010 Posts: 98
|
Posted: Thu Aug 11, 2011 1:58 pm Post subject: |
|
|
Currently I'm using the following event setup
Quote: | EventType: Before Modifying File
File Type: All Files
File Filter: .*
Command: "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\tf.exe" checkout "$(TargetPath)" |
Quote: | EventType: After Creating File
File Type: All Files
File Filter: .*
Command: "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\tf.exe" add "$(TargetPath)" |
Quote: | EventType: Before Deleting File
File Type: All Files
File Filter: .*
Command: "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\tf.exe" delete "$(TargetPath)" |
So far it is working fine except for my xml files however there is a seperate topic about this. |
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Thu Aug 11, 2011 10:19 pm Post subject: |
|
|
Thanks for posting that. One thing you might want to consider is changing the File Type to "Source Files" - otherwise these events are going to fire for your translators when they do a Deploy build. Also generally most developers don't version control binary files which can usually be recreated using the original tool - so you might want to consider using "Source Text Files". Otherwise the events will fire when you build MSI files. _________________ Infralution Support |
|
Back to top |
|
|
sheitman
Joined: 27 Apr 2010 Posts: 98
|
Posted: Fri Aug 12, 2011 7:18 am Post subject: |
|
|
Thanks for that information. |
|
Back to top |
|
|
|