It's all about the answers!

Ask a question

upgrade RTC from 3.0 to 3.0.1.1


Eitan Shomrai (9154) | asked Nov 10 '11, 12:47 p.m.
While trying to upgrade from 3.0 to 3.0.1.1 I get:

2011-11-10 19:28:36,975 Checking the old JTS version...
2011-11-10 19:29:01,803 The version string "The command "-version" is not recognized." is not properly formatted.
java.lang.IllegalStateException: The version string "The command "-version" is not recognized." is not properly formatted.
at com.ibm.team.repotools.commands.upgrade.util.AbstractVersionChecker.getVersionStringFromOutput(AbstractVersionChecker.java:192)

*** Reason is probably as a new "-version" option was added for repotools after 3.0, but it doesn't exist for 3.0.
Try repotools_jts.bat -version and You get the same error message:
Repo Tools
Provisioning using "C:\jazz\JazzTeamServer\server\conf\jts\provision_profiles".
Jazz Foundation - Core Libraries, Version 3.0 (RJF-I20101112-0630)
**************************************************
The command "-version" is not recognized.
******************************************************

What to do to to satisfy this version check?!?
Any clue?

One answer



permanent link
Eitan Shomrai (9154) | answered Nov 11 '11, 2:44 p.m.
I found a work-around how to cheat the upgrade script.
Ive replaced the content of the original version 3.0 repotools-jts.bat script with this content:

@echo Repo Tools
@echo Provisioning using "C:\jazz\JazzTeamServer\server\conf\jts\provision_profiles".
@echo Jazz Foundation - Core Libraries, Version 3.0 (RJF-I20101112-0630)
@echo 3.0

With this script the upgrade script did the job and completed successfully.

It would be good if someone on the Jazz dev team fix this issue for all..

Eitan

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.