|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Need to execute scripts from single repository - Help neededHi
We are using 5 servers to execute scripts and each server having one project. Every time due to some changes in the build modifying our scripts in all the servers (projects). To over come this i want to put a single repository (making one project) at one server (different location having diffent system IP ) and wants to execute the scripts from other servers. Is there any facility that SAFS will allow us to execute the scripts from different location. Please do the need full if any one has aware of this. NOTE: All projects have configured with SAFS and RFT configuration. Thanks & Regards, Jayasurya |
|
|
Re: Need to execute scripts from single repository - Help neededSorry it took so long to reply...
Yes, you *should* be able to do what you seek. However, it may not be all that you hoped for. And I don't know that things have been tested well for this scenario An issue you potentially run into is each separate server overwriting assets of other servers if you try to use a single centralized project. For example, if each server is using the same central project and they all open and write to the same log in the same centralized directory then only one of them will likely "win". What is supposed to work, but has not been tested very much for this scenario, is to specify alternative directories for parts of the project. So, for example, each server can read from a common set of test tables, but each server writes to its own separate output location. The output location may be local to the server, or it might be a unique location on the remote server. Again, I don't think this has been tested for UNC (remote) paths, but it may work. If it does not, then we need to find a way to make it work. Alternatively, you might have to map UNC paths to local drives--E:\ or F:\ or something like that. Refer to the following link: http://safsdev.sourceforge.net/sqabasic2000/JSAFSFramework.htm At the top hit the Config File link. It should take you here: http://safsdev.sourceforge.net/sqabasic2000/JSAFSFrameworkContent.htm#configfile Note the entries for [SAFS_PROJECT] and [SAFS_DIRECTORIES] that can be placed in the test.INI file: [SAFS_PROJECT] ProjectName=ProjectName ProjectRoot=String/ProjectRootPath [SAFS_DIRECTORIES] BENCHDIR=String/Path DATADIR=String/Path DIFFDIR=String/Path LOGDIR=String/Path TESTDIR=String/Path The idea is that you may be able to point your ProjectRoot to a centralized project space, but change the location of some of the output directories to be on the local testing machine. Some sample entries on the local testing machines: [SAFS_PROJECT] ProjectRoot="\\uncPath\To\Remote\SAFS\Project" [SAFS_DIRECTORIES] DIFFDIR="C:\LocalProject\Dif" LOGDIR="C:\LocalProject\Logs" TESTDIR="C:\LocalProject\Test" Alternatively, you might have to map the remote path to a local drive: [SAFS_PROJECT] ProjectRoot="F:\Remote\SAFS\Project" [SAFS_DIRECTORIES] DIFFDIR="C:\Local\SAFS\Dir\Dif" LOGDIR="C:\Local\SAFS\Dir\Logs" TESTDIR="C:\Local\SAFS\Dir\Test" Alternatively, you might put everything remote, but each server has its own separate remote directories for its output: [SAFS_PROJECT] ProjectRoot="\\uncPath\To\Remote\SAFS\Project" [SAFS_DIRECTORIES] DIFFDIR="\\uncPath\To\Remote\SAFS\Project\serverid\Dir" LOGDIR="\\uncPath\To\Remote\SAFS\Project\serverid\Logs" TESTDIR="\\uncPath\To\Remote\SAFS\Project\serverid\Test" I'd like to hear if this works for you. If it doesn't, I'd like for us to make it work. Carl -----Original Message----- From: JayaSurya [mailto:jayasurya.kasba@...] Subject: [safs-rrafs] Need to execute scripts from single repository - Help needed Hi We are using 5 servers to execute scripts and each server having one project. Every time due to some changes in the build modifying our scripts in all the servers (projects). To over come this i want to put a single repository (making one project) at one server (different location having diffent system IP ) and wants to execute the scripts from other servers. Is there any facility that SAFS will allow us to execute the scripts from different location. Please do the need full if any one has aware of this. NOTE: All projects have configured with SAFS and RFT configuration. Thanks & Regards, Jayasurya -- View this message in context: http://www.nabble.com/Need-to-execute-scripts-from-single-repository---Help-needed-tp19786269p19786269.html Sent from the safsdev-rrafs mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ safsdev-rrafs@... https://lists.sourceforge.net/lists/listinfo/safsdev-rrafs ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ safsdev-rrafs@... https://lists.sourceforge.net/lists/listinfo/safsdev-rrafs |
|
|
Re: Need to execute scripts from single repository - Help neededHi Carl,
I am able to call the script and successful on performing some actions. But i struck at the report generation. I am attching my project ini file and batch file with this mail. In this file i have mentioned my remote project path as "Z:\MapValidationProject". Whenever i ran RunMapValidationProject.bat file the report is generated which i have executed last time in the local project. I am getting confusion on using SAFS directories which you have mentioned. Please let me know in detail. Thanks & Regards, Jayasurya MapValidationSettings.iniRun_MapValidationProject.batfiles.zip |
| Free Forum Powered by Nabble | Forum Help |