Repository and source control
Repository and source control
Hi,
my colleagues and i are working on a project and so we are using a source control. If someone only touches the repository or a recorde module, the items will change their resourcebasedir. In our case these changes result in alwasy in a conflict. How do we stop this for example by changing the resourcebasedir to a relative path?
Thanks in advance
my colleagues and i are working on a project and so we are using a source control. If someone only touches the repository or a recorde module, the items will change their resourcebasedir. In our case these changes result in alwasy in a conflict. How do we stop this for example by changing the resourcebasedir to a relative path?
Thanks in advance
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Repository and source control
Hi,
This is unfortunately a known issue but it will be fixed with the next Ranorex version, which is 3.3.2 and should be released at the end of august.
Regards,
Markus
Ranorex Support Team
This is unfortunately a known issue but it will be fixed with the next Ranorex version, which is 3.3.2 and should be released at the end of august.
Regards,
Markus
Ranorex Support Team
Re: Repository and source control
Hi,
the issue was fixed with 3.3.2, so thank you a lot! But there is still a little thing left: The vb classes belonging to the record modules are "changed" when touched, whereat i can't see any changes to the files. Nevertheless the source control (TFS) always flags them as changed.
Thanks a lot
the issue was fixed with 3.3.2, so thank you a lot! But there is still a little thing left: The vb classes belonging to the record modules are "changed" when touched, whereat i can't see any changes to the files. Nevertheless the source control (TFS) always flags them as changed.
Thanks a lot
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Repository and source control
Hi,
Could you explain this more detailed, did you mean with "when touched", that it is marked as changed when you open the Recording in Ranorex Studio?
Which files flags the TFS as changed?
Thanks,
Markus
Ranorex Support Team
Could you explain this more detailed, did you mean with "when touched", that it is marked as changed when you open the Recording in Ranorex Studio?
Which files flags the TFS as changed?
Thanks,
Markus
Ranorex Support Team
Re: Repository and source control
Hi,
touching means that i open the file without changing it. Tfs flags the RecordModule.vb file as changed.
Thanks
touching means that i open the file without changing it. Tfs flags the RecordModule.vb file as changed.
Thanks
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Repository and source control
Hi,
So if you compare the two files no changes are shown?
TFS will set the state to edited after you checked out the files, maybe a undo of the pending changes in TFS will help in this case.
Could it be that you are working with VS and Ranorex Studio?
Regards,
Markus
Ranorex Support Team
So if you compare the two files no changes are shown?
TFS will set the state to edited after you checked out the files, maybe a undo of the pending changes in TFS will help in this case.
Could it be that you are working with VS and Ranorex Studio?
Regards,
Markus
Ranorex Support Team
Re: Repository and source control
Hi,
if i compare the two files there are no changes. Nevertheless the texts of the files are marked as changed in the merge tool. Normally i work only with Ranorex Studio, but perhaps once in a month i open the project in Visual Studio, too. An undo of the pending changes will work, but is only an annoying workaround.
Thank you!
if i compare the two files there are no changes. Nevertheless the texts of the files are marked as changed in the merge tool. Normally i work only with Ranorex Studio, but perhaps once in a month i open the project in Visual Studio, too. An undo of the pending changes will work, but is only an annoying workaround.
Thank you!
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Repository and source control
Hi,
Which merge tool are you using and which parts are marked as changed it the tool?
Could it be that the file encoding (Ranorex uses utf-8) is different?
Regards,
Markus
Ranorex Support Team
Which merge tool are you using and which parts are marked as changed it the tool?
Could it be that the file encoding (Ranorex uses utf-8) is different?
Regards,
Markus
Ranorex Support Team
Re: Repository and source control
In the response to the original question above, Markus mentioned that the resourcebasedir issue will be fixed in version 3.3.2.
When looking at the Release Notes, I don't see a fix for this listed. Was it just missed in the Release Notes, or does this mean it wasn't actually implemented?
A fix for this would make an upgrade worthwhile, but I'd rather be sure it is actually fixed first.
Thank you!
When looking at the Release Notes, I don't see a fix for this listed. Was it just missed in the Release Notes, or does this mean it wasn't actually implemented?
A fix for this would make an upgrade worthwhile, but I'd rather be sure it is actually fixed first.
Thank you!
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Repository and source control
The fix made it in the version and in the release notes for Ranorex V3.3.2:
Alex
Ranorex Team
Regards,Fixed a bug which caused an absolute path to the image resources to be stored in the repository file
Alex
Ranorex Team
Re: Repository and source control
I did see that fix you quoted in the Release Notes. However, the description for the fix referred to "image resources", so I assumed that was only for image files. Does this include rxrec files?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Repository and source control
Hi,
Yes, because the absolute path was just included when you embedded the repository.
Regards,
Markus
Ranorex Support Team
Yes, because the absolute path was just included when you embedded the repository.
Regards,
Markus
Ranorex Support Team
Re: Repository and source control
Hi,
you were right. The encoding is different. How can i change the encoding in ranorex?
Thank you
you were right. The encoding is different. How can i change the encoding in ranorex?
Thank you
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Repository and source control
Hello,
You could change encoding in menu 'Tools\Options...' as shown in the attached screenshot.
Regards,
Markus (T)
You could change encoding in menu 'Tools\Options...' as shown in the attached screenshot.
Regards,
Markus (T)
You do not have the required permissions to view the files attached to this post.
Re: Repository and source control
Hi,
unfortunately it still doesn't work. We changed the encoding to utf-8, but the team foundation server still complains that the files have changed although they haven't. The Tfs complains about the automatically created constructor and the init part of the module.
Bye
unfortunately it still doesn't work. We changed the encoding to utf-8, but the team foundation server still complains that the files have changed although they haven't. The Tfs complains about the automatically created constructor and the init part of the module.
Bye