Hi,
I’m using FB 6.3.0.1472 and MKS Source 2007 4.9.0.4601.
When I use an MKS Check Out action I get the error shown below.
As you can see, this version of MKS doesn’t seem to support the --onLock option. The strange thing is, if I google for ‘mks onlock’ I don’t get any relevant results, so I wonder if this ever was a valid MKS option.
This happens whether or not I have ‘Enable MKS Source 2006 command line options’ checked.
Many thanks
Kit
MKS Command: co --batch --onLock makewritable --overwriteChanged --noRecordAsWorkInProgress --lock --noRecurse D:\Sandboxes\euVal\euValLiabilities_Build\euValWorkSystem\SQL\Data\ReportOutputFields.bcp
C:\Program Files\MKS\IntegrityClient\bin\si.exe: Invalid option: “onLock”
Usage: C:\Program Files\MKS\IntegrityClient\bin\si.exe co options… sandbox member…; options are:
-f Force overwrite of changed working files
--[no|confirm]merge If modified, merge with new working file
--mergeType=[confirm|cancel|automatic|manual] Try to automatically perform the merge or launch the conflict resolution tool
--onMergeConflict=[confirm|cancel|mark|launchtool|highlight|error] What to do when conflicts occurred during the merge
--[no|confirm]overwriteChanged Force overwrite of changed working files
--[no|confirm]overwriteDeferred Force overwrite of working files with deferred operations pending
--changePackageId=value The associated change package ID (see documentation)
--cpid=value The associated change package ID (see documentation)
--[no|confirm]downgradeOnLockConflict Whether to obtain a non exclusive lock if an exclusive lock already exists on the revision
--[no|un]expand Whether keywords should be expanded in working files
--issueId=value The issue ID to use to find the associated change package ID (see documentation)
-l Check out the revision with a lock
--[no|auto]lock Whether to obtain a lock on the revision
--[no|confirm]lockOnFreeze Perform the action even on a frozen member
--lockType=[exclusive|nonexclusive|auto] The type of lock to obtain on the revision
--[no|confirm]moveLock Whether to move my existing lock on another revision
-r value The revision to be checked out
--[no]restoreTimestamp Set the timestamp on the working file to the revision’s timestamp
--revision=value The revision to be checked out
-u Check out the revision without a lock
--[no]update Set the member revision to the revision checked out
-R Select recursively
--filter=attribute:name[=value]
changed[:working|:sync|:newer|:size|:missing|:newmem|:all]
file:
frozen
label[:name]
anylabel[:name]
locked[:name]
locktype[:exclusive|:nonexclusive|:any]
state[:name]
format[:text|:binary]
workingbranch
deferred[:add|:addfromarchive|:checkin|:drop|:import|:move|:rename|:updaterevision|:all]
unresolvedmerges
memberonbranch
pending[:add|:addfromarchive|:drop|:import|:movememberfrom|:movememberto|:renamefrom|:renameto|:update|:updaterevision|:all]
workinprogress
sparsecontents
rule[:defined|:invalid|:memberrevdiffers]
archiveshared
--[no|confirm]recurse Select recursively
-S value The name of the sandbox
--[no]failOnAmbiguousProject Whether to abort when multiple projects correspond to a flat project string.
--sandbox=value The name of the sandbox
-? Shows the usage for a command
-F value Read the selection from a specified file
-N Responds to all confirmations with “no”
-Y Responds to all confirmations with “yes”
--[no]batch Control batch mode (no user interaction in batch mode)
--cwd=value Act as if command executed in specified directory
--forceConfirm=[yes|no] Specify an answer to all confirmation questions
-g User interaction should happen via the GUI
--gui User interaction should happen via the GUI
--hostname=value Hostname of server
--no Responds to all confirmations with “no”
--password=value Credentials (e.g., password) to login with
--port=value TCP/IP port number of server
--quiet Control status display
--selectionFile=value Read the selection from a specified file
--settingsUI=[gui|default] Control UI for command options
--status=[none|gui|default] Control status display
--usage Shows the usage for a command
--user=value Username to login to server with
--yes Responds to all confirmations with “yes”
MKS command execution failed with return code: 1
Hi Kit,
Unfortunately MKS 2007 is not currently supported in FinalBuilder, we have been in contact with MKS with regards to obtaining a copy of MKS 2007 so that we can add support for it but are still waiting to hear back from them. Some actions will work without any problems, but for the actions which the command line is no longer valid you’ll need to use the MKS Generic action.
Regards,
Paul.
Thanks Paul, I’ve e-mailed our contact at MKS to see if this can be pushed along.
Meanwhile I’ve worked around it fine by using a command line action - no doubt MKS Generic would have worked as well.
Cheers again
Kit
Hi Kit,
Thanks, we heard back from MKS this morning and are now just waiting to receive the copy MKS 2007. Paul.