Rational Programming Patterns

rpp --importJournal

This command imports updates extracted from the Pacbase journal into Rational Programming Patterns. Only the import of a .ta2 file is available.

Syntax

rpp.bat --importJournal [options]

Parameters

Table 1. List of the available parameters
Options Comments Required Default values
--data Rational® Developer for System z® option for the workspace to use Yes  
--log Log file name trace.log
--fromFile Input .ta2 file name Yes  
--fromDataFile Path and name of the .xml technical file to take into account for the import Yes  
--location Target location Yes  
--scmtoolsEntriesFile Path and name of the script file containing the SCM commands - to upload data to the Rational Team Concert server   scmtools_entries.bat in the .metadata folder of the workspace
--generatedDataFile Path and name of the .xml technical file generated after the jounral import   imported_data_refer.xml in the .metadata folder, where refer corresponds to the target location
--report Import report file N/A .pacmigration.log in the .metadata folder of the workspace
--overwriteReport Report file overwriting N/A false - default append to the existing file
For its later use, the script file that contains the SCM commands must be completed:
  • User code in Rational Team Concert
  • Name of the stream where the projects are to be uploaded
  • Address of the Rational Team Concert server
  • Path of the folder containing the lscm commands

The .xml technical file created at the end of the import is required if you want to import later updates from the journal. This file gathers the information not included in the new Rational Programming Patterns model, and the list of the entities previously imported.

At the end of the import, if errors have been reported, a dialog box enables you to open the report file in an editor.

Example

rpp.bat --import --fromFile C:/import/IMPORT1.ta2 --location IMPORT --importType ta2 --overwrite --data C:/workspaces/batchWks --log C:/import/out/trace.log --scmtoolsEntriesFile C:/import/out/scm.bat --generatedDataFile C:/import/out/genData.xml
rpp.bat --importJournal --fromFile C:/import/Journal_IMPORT2.ta2 --fromDataFile C:/import/out/genData.xml --location IMPORT --data C:/workspaces/batchWks --log C:/import/out/traceJournal.log --scmtoolsEntriesFile C:/import/out/scm.bat --generatedDataFile C:/import/out/genData.xml

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)