Datamart Extractor Command Line Parameters

Each time an extraction file is edited, a .stjava file with the same name prefixed with StarTeamDatamart_ is created. Within this file, the name of the extraction file is used as a parameter, so executing this file immediately runs the extraction file.

For the command line, the parameter is added into the .stjava file. For example:

[StJava]
class=com.starbase.extractor.Main “Local.stxtract” -nostatus
starteam=13.0
test=0
[Java VM]
name=Sun1.6.0_29
classpath=stxtract.jar;C:\Program Files\Microsoft SQL Server 2008 JDBC Driver\sqljdbc_1.1\enu\sqljdbc.jar;c:\app\Administrator\product\11.1.0\db_1\jdbc\lib\ojdbc6.jar;lib\xerceslmpl.jar
options=-Xmx256m

There are additional parameters that you can include:

-detail
More detailed messages are shown within the status box and the log file.
-debug
Debug messages are included in the log file.
-monitor
A log file called monitor.log logs server commands to StarTeam Server.
-nostatus
The status box is not displayed.

You can run the .stjava file as a Scheduled Task. This is best performed during off-peak hours, or at night, to obtain the most up-to-date information.

Important: If you plan to reuse *.stjava files from a previous release, be sure to update the files to use the latest StarTeam Server SDK.

For example:

[StJava]
class=com.starbase.extractor.Main
starteam=13.0