MKS is a software package for Windows that provides a Unix-like environment for scripting and porting software. It includes several command-line shells supporting traditional Unix commands and Windows-specific commands, connectivity tools, and porting APIs.
Questions tagged [mks]
90 questions
1
vote
1 answer
Korn Shell change date from a file
I recently had a question that was answered but I was writing in shell with cygwin. I found out I need to make this krn Shell compatible for MKS Toolkit.
The sed command does not like this and I am looking for a solution. the file is such that…

fletching
- 31
- 4
1
vote
0 answers
Perl script to edit an item via CLI in MKS Integrity?
I want to add one word in the beginning of "RQ_Description Text" field, keeping the existing content as it is.
The below script gets the job done, However the Rich text content and images are lost in the process.
How would I preserve it?
NOTE: I'm…

Abhishek Singh
- 69
- 1
- 8
1
vote
1 answer
Fetching data from command line output using python
Here is the command I used to get the file info, in which am interested in only revision version.
command:
command='si revisioninfo D:/Documentation/file_folder/file.c'
process = Popen(args=command,stdout=PIPE,shell=True)
…

rakshi
- 23
- 6
1
vote
2 answers
MKS How to list all members with their revision number on a devpath
I am familiar with the MKS CLI, namely the si field, however I have a tough time honing in on the right command to get the information I need.
I am wanting to write a command against an MKS repository with
The devpath name
The rev number of that…

E.S.
- 2,733
- 6
- 36
- 71
1
vote
3 answers
What is the MKS equivalent of SVN Update?
I am contracting at a company that uses MKS. I have used SVN in the past as well as Mercurial and Git but must use MKS currently(so far I can't seem to find any documentation on it or best practices).
I want to know what the equivalent of SVN Update…

runxc1 Bret Ferrier
- 8,096
- 14
- 61
- 100
1
vote
1 answer
Jenkins MKS Integrity Plugin only populating folder structure, not files
I've recently been trying to set up a Jenkins server that uses the Jenkins MKS plugin for version control. I had a Windows Jenkins server that was running this same configuration just fine, and now that we're moving it to a linux server (Red Hat…

Gregulator
- 11
- 2
1
vote
0 answers
Sending mail with mailx and windows
I installed MKS ToolKit 8.5 in windows 7 and i want to send an email using mailx, i tried this in linux and works fine, but in Windows i dont have the same result. I'm trying send mail with a external smtp server. This is a command i used to sending…

Matias Araya
- 49
- 1
- 8
1
vote
2 answers
How to create a task in Integrity using Java API
Could some one please tell me Is there any way to create a Task/Change Request/Work Package in MKS Integrity using Java API?
We have an xml file with all the details about Task. By taking this as Input, need to generate a Task/Change Request/Work…

Monika
- 325
- 1
- 2
- 9
1
vote
0 answers
MKSNT sh.exe throws parsing error inconsistently when invoked from windows gmake
Environment
Windows
MKSNT
gmake
Makefile relevant part (very simplified)
rules.mk
%.lib:
if [ "$(notdir $(@D))" = "opt" ]; then \
gmake test.obj; \
else \
gmake test2.obj; \
fi
When i run my make file i get this error…

Ratheesh Pai
- 1,600
- 1
- 15
- 24
1
vote
1 answer
MKS get selected project of subprocess "si projects --gui"
Is there a way to get the selected project of the MKS projects view gui started as a subprocess from the command line?
si.exe projects ... -g
When starting a custom tool from the MKS main gui accessing the selected project is possible by defining…

mr_simple
- 11
- 3
1
vote
1 answer
Register variant sandbox while performing build
How do we register variant sandbox while performing the build?
While running the below cmd we are getting error:
si resync --noconfirm -f -R --sandbox=/builds/wcbd/sandbox18/eCommerce/workspace/WCBD/project.pj --hostname=ryew3mks1.na.avonet.net…

Sunil
- 11
- 1
1
vote
2 answers
Does Team Foundation Server supports Checkpoints?
My dev team used in the past MKS Source Integrity source control and we are not evaluating to migrate to TFS 2010.
Some concepts and meaning are a bit different and we need sometime to learn how to do the same things we do before in TFS or how to…

Drake
- 8,225
- 15
- 71
- 104
1
vote
1 answer
How do I get MKS sed to output this double quote?
The line
echo xxx | sed "s/xxx/a""b/"
outputs
ab
rather than
a"b
as expected.
What's the fix?

ChrisJJ
- 2,191
- 1
- 25
- 38
1
vote
2 answers
How Do I Revert an MKS Change Package
I have a branch of a large project with a couple of change packages on it. I would like to undo one of them. In Subversion, this task is trivial, esp with a tool such as tortoisesvn - select the revision(s) from the history and undo the changes. …

Jon
- 1,675
- 26
- 57
1
vote
2 answers
MKS Integrity: Getting content of archive (dropped member)
I know that I can use the CLI command si viewrevision to get the content of a versioned file. Downside is that this file must not be dropped.
Does anyone know a way (other than addfromarchive) to get the content when knowing the archive?

VeikkoW
- 817
- 7
- 12