MKS --> SVN

disruptor108
Posts: 5
Joined: Fri Aug 04, 2006 9:23 pm

MKS --> SVN

Postby disruptor108 » Fri Aug 04, 2006 9:31 pm

Hi,

I am using trying to convert MKS into SVN and am running into a problem when running the svnimporter.jar :

Code: Select all

 MksProvider:84  INFO - Svn model has been created
 MksProvider:84  INFO - total number of revisions in svn model: 98
 historyLogger:84  INFO - saving svn model to file...
 Exec:84  INFO - C:\Program Files\MKS\IntegrityClient\bin\si.exe: Invalid option: "r"
 Exec:84  INFO - Usage: C:\Program Files\MKS\IntegrityClient\bin\si.exe resync options... current or former member/subproject...; options are:
 Exec:84  INFO -        --[no]confirm  In change package mode, proceed without a question
 Exec:84  INFO -        --[no]includeDropped  Include former members
 Exec:84  INFO -        --[no|confirm]merge  Perform merges if required
 Exec:84  INFO -        --[no|un]expand  Whether keywords should be expanded in working files
 Exec:84  INFO -        -f  Force overwrite of changed working files
 Exec:84  INFO -        --[no|confirm]overwriteChanged  Force overwrite of changed working files
 Exec:84  INFO -        --[no]overwriteUnchanged  Force overwrite of unchanged working files
 Exec:84  INFO -        --[no]populate  Populate the sandbox with working files
 Exec:84  INFO -        --[no]restoreTimestamp  Set the timestamp on the working file to the revision's timestamp
 Exec:84  INFO -        -R  Select recursively
 Exec:84  INFO -        --filter=attribute:name[=value]
 Exec:84  INFO -                 changed[:working|:sync|:newer|:size|:missing|:newmem|:all]
 Exec:84  INFO -                 file:<expression>
 Exec:84  INFO -                 frozen
 Exec:84  INFO -                 label[:name]
 Exec:84  INFO -                 anylabel[:name]
 Exec:84  INFO -                 locked[:name]
 Exec:84  INFO -                 state[:name]
 Exec:84  INFO -                 format[:text|:binary]
 Exec:84  INFO -                 workingbranch
 Exec:84  INFO -        --[no|confirm]recurse  Select recursively
 Exec:84  INFO -        -S value  The name of the sandbox
 Exec:84  INFO -        --sandbox=value  The name of the sandbox
 Exec:84  INFO -        --hostname=value  Hostname of server
 Exec:84  INFO -        --port=value  TCP/IP port number of server
 Exec:84  INFO -        --password=value  Credentials (e.g., password) to login with
 Exec:84  INFO -        --user=value  Username to login to server with
 Exec:84  INFO -        -?  Shows the usage for a command
 Exec:84  INFO -        -F value  Provide the operands from a file
 Exec:84  INFO -        -N  Responds to all confirmations with "no"
 Exec:84  INFO -        -Y  Responds to all confirmations with "yes"
 Exec:84  INFO -        --[no]adorn  Control adornment on GUI views
 Exec:84  INFO -        --[no]batch  Control batch mode (no user interaction in batch mode)
 Exec:84  INFO -        --cwd=value  Act as if command executed in specified directory
 Exec:84  INFO -        --forceConfirm=[yes|no]  Specify an answer to all confirmation questions
 Exec:84  INFO -        -g  User interaction should happen via the GUI
 Exec:84  INFO -        --gui  User interaction should happen via the GUI
 Exec:84  INFO -        --no  Responds to all confirmations with "no"
 Exec:84  INFO -        --quiet  Control status display
 Exec:84  INFO -        --selectionFile=value  Provide the operands from a file
 Exec:84  INFO -        --settingsUI=[gui|default]  Control UI for command options
 Exec:84  INFO -        --status=[none|gui|default]  Control status display
 Exec:84  INFO -        --usage  Shows the usage for a command
 Exec:84  INFO -        --yes  Responds to all confirmations with "yes"
 Exec:80 DEBUG - Process exit value: 1
 historyLogger:84  INFO - EXCEPTION CAUGHT: org.polarion.svnimporter.mksprovider.MksException: Process exit code: 1


What exactly is svnimporter trying to do here with the option "r" ? If I could figure that out I think I could go about debugging the problem...thanks

disruptor108
Posts: 5
Joined: Fri Aug 04, 2006 9:23 pm

Postby disruptor108 » Wed Aug 09, 2006 7:18 pm

I fixed this problem...on line 334 of org.polarion.svnimporter.mksprovider.MksProvider.java, I changed "-r" to "-R"

I would commit the changes but I don't have access rights. Thanks.

NickEntin
Posts: 472
Joined: Tue Oct 24, 2006 10:27 am
Location: Polarion Software GmbH, Stuttgart
Contact:

Postby NickEntin » Tue Nov 21, 2006 12:43 pm

Hi,

I'm wondering why this did work by other clients and have to be changed for you. Do you know if this could be version specific (e.g. earlier switches were case insensitive, or some versions were requiring "-r", and others - "-R")?
The importer was implemented against SI v8.0, what version do you have?

I can grant you permissions to commit the change (or, if you like, I can change the switch on myself), but I'd like to be sure it won't affect others...
Alternative variant would be to move this switches to config file and read them from the code (thus users could specify appropriate options for themselves).

Best regards,
Nick

Note: we don't have any experience in MKS, therefore we completely trust our community users, if you'll say it should be so and so, we would not check it :-)

EnthonyFareid
Posts: 1
Joined: Wed Nov 16, 2016 12:21 pm

Re: MKS --> SVN

Postby EnthonyFareid » Wed Nov 16, 2016 12:35 pm

I found an article where professionals say that many technologies that are used today consume more resources than needed, so that the production and use of various technologies result in a number of environmental concerns. http://bigessaywriter.com/blog/affect-of-technologies-on-our-environment Technology can harm the environment in a number of ways as will be discussed here.


Return to “Polarion SVN Importer (Repository Converter)”

Who is online

Users browsing this forum: Google [Bot] and 2 guests