rtc2gitcli | RTC SCM tool extension to migrate an RTC repository
kandi X-RAY | rtc2gitcli Summary
kandi X-RAY | rtc2gitcli Summary
A tool made for migrating code from an existing IBM RTC into a Git repository. Inspired by rtc2git, but written in Java and hopefully faster. It is implemented as scm cli plugin.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Initializes Git repository
- Populate config from properties
- Initialize the config
- Adds lines to a given file
- Build migrator implementation
- Migrates changes for a tag
- Add change set info
- Runs the migration
- Closes the sandbox
- Reads all lines of a file using the given character set
- Checks if there are any files under the root directory
- Sets the sub - command line by reflection
- Generates the command line
- Sets sub - command line
- Set sub command line options
- Generate command line
- Visit a ChangeSet entry
- Get a tag from an item stream
- Initialize Git configuration
- Parses the XML elements into the given consumer
- Creates a hash code for this component
- Initialize the convert glob method method
- Writes a new line if it ends with a newline
- Creates a tag
rtc2gitcli Key Features
rtc2gitcli Examples and Code Snippets
Community Discussions
Trending Discussions on rtc2gitcli
QUESTION
how to migrate RTC projects to GIT-bitbucket? I downloaded the project from https://github.com/rtcTo/rtc2gitcli & without modifying any file was able to execute the "scm migrate-to-git" but seems like 0 changest, 0 baseline & took 34 seconds to complete. I am not sure where do I give the git/bitbucket repository information? my code is quite big & it will certainly not complete in 34 seconds. Any idea where am i supposed to give the git repo details & where will i check if it is run success!!
using RTC 6.0.4 & SCM cli exported the jar file from eclipse project but did not make any changes the downloaded code.
...ANSWER
Answered 2019-Sep-27 at 16:25I am not sure where do I give the git/bitbucket repository information?
You are (first) supposed to:
- create and load an RTC repository workspace: "SOURCE_WORKSPACE"
- a local Git repository (git init myNewRepo): "TARGET_WORKSPACE"
Then you can provide source and destination with:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install rtc2gitcli
Import Code Style (Window→Preferences→Java→Code Style→Formatter) eclipse-rtccli-format-settings.xml in order to have a common coding style (you can skip this step if you only want to run it)
Configure SCMTools Target Platform described here in the wiki. Point to the folder where your scm.exe/lscm.bat is (If you use eclipse classic aka non javaee eclipse, install the Eclipse Plugin Development Tools as described here)
Clone this repo and import it in eclipse as maven project
Open pom.xml and follow the hint to install the missing maven connector
Update maven project using [ALT]+[F5]
By this point the project shouldnt contain any errors (make sure you have still your created target platform in window preference selected)
You should have an launch-configuration named rtc2git → start it
In your console window you should see "Help for: scm migrate-to-git"
Open the launch-config and edit the command in arguments/program arguments
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page