linking SVN Externals to Ranorex project
Posted: Tue Jul 02, 2013 4:20 pm
Hi all,
I'm trying to setup a mechanism for using common class across multiple Rx projects. Yes, I know about creating DLL containing common functions and referencing that DLL in each project. But I would rather like to avoid that way. Using one common class would allow me to edit that class in each Rx project so the changes would be transferred to each Rx project (after svn update) without the need of editing/compiling an external DLL.
I found something called SVN Externals. So I have main SVN repo with RX project and separate SVN repo containing the common class. That common class repo is then linked inside the main Rx repo using SVN "external" folder. Once the external class is edited inside the Rx solution, SVN is supposed to trigger that change and update both Rx project repo and external repo. The problem I'm facing is how to add the common class to the Rx project?
Once I try to add an existing "external" class to the solution, instead of linking the class, it simply copies it to the folder over which I used Add >> Existing Item action... Sadly, this breaks the "external" SVN connection". Once I edit that copied common class, it's no longer linked to the source folder containing the external class and therefore, it's useless.
I think the problem is with the "old" Rx 4.0.4 Sharp Develop-based GUI? The most actual Sharp Develop seems not only allow to link the existing files (instead of copying them) but it also allows to add the whole existing directory, which is currently not possible in Rx 4.0.4. Any idea when we will see an updated Ranorex with most recent Sharp Develop-based features? Or is there already a way to achieve my goal (shared common class) with current Ranorex version?
Thank you in advance!
I'm trying to setup a mechanism for using common class across multiple Rx projects. Yes, I know about creating DLL containing common functions and referencing that DLL in each project. But I would rather like to avoid that way. Using one common class would allow me to edit that class in each Rx project so the changes would be transferred to each Rx project (after svn update) without the need of editing/compiling an external DLL.
I found something called SVN Externals. So I have main SVN repo with RX project and separate SVN repo containing the common class. That common class repo is then linked inside the main Rx repo using SVN "external" folder. Once the external class is edited inside the Rx solution, SVN is supposed to trigger that change and update both Rx project repo and external repo. The problem I'm facing is how to add the common class to the Rx project?
Once I try to add an existing "external" class to the solution, instead of linking the class, it simply copies it to the folder over which I used Add >> Existing Item action... Sadly, this breaks the "external" SVN connection". Once I edit that copied common class, it's no longer linked to the source folder containing the external class and therefore, it's useless.
I think the problem is with the "old" Rx 4.0.4 Sharp Develop-based GUI? The most actual Sharp Develop seems not only allow to link the existing files (instead of copying them) but it also allows to add the whole existing directory, which is currently not possible in Rx 4.0.4. Any idea when we will see an updated Ranorex with most recent Sharp Develop-based features? Or is there already a way to achieve my goal (shared common class) with current Ranorex version?
Thank you in advance!