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:
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.
For example:
[StJava] class=com.starbase.extractor.Main starteam=13.0