CDV ❯ new command: tim-get upgrade /path/to/tc-config.xml
-
Implementation
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
X-Common Code
-
-
hhuynh
-
Reporter: hhuynh
-
February 22, 2009
-
0
-
Watchers: 0
-
April 10, 2009
-
March 10, 2009
Description
this command will take a tc-config.xml and install the latest versions of the TIMs found in that config and modify the config file to have the up to date versions. It will save the original config file before updating.
Comments
nadeem ghani 2009-03-10
Hung Huynh 2009-03-10
fixed in r12069 (trunk) and r12070 (3.0) Add checking for tc-config.xml that doesn’t have any modules specified
Himadri Singh 2009-03-12
bash-3.2$ ./bin/tim-get.sh upgrade ../../workspace/examinator/tc-config.xml Terracotta Enterprise 3.0.0-ee-stable0, as of 20090306-110300 (Revision 3694-12024 by cruise@su10mo5 from 3.0)
Parsing module: tim-jetty-6.1-1.2.0: newer version 1.2.0-SNAPSHOT Installing tim-jetty-6.1 1.2.0-SNAPSHOT… SKIPPED: tim-jetty-6.1 1.2.0-SNAPSHOT - Already installed
Parsing module: tim-hibernate-3.2.5-1.3.0: newer version 1.3.0-SNAPSHOT Installing tim-hibernate-3.2.5 1.3.0-SNAPSHOT and dependencies… SKIPPED: tim-hibernate-3.2.5 1.3.0-SNAPSHOT - Already installed SKIPPED: tim-apache-collections-3.1 1.0.0-SNAPSHOT - Already installed SKIPPED: tim-cglib-2.1.3 1.3.0-SNAPSHOT - Already installed SKIPPED: tim-ehcache-1.3 1.3.0-SNAPSHOT - Already installed SKIPPED: tim-ehcache-commons 1.3.0-SNAPSHOT - Already installed
Parsing module: tim-annotations-1.3.0-SNAPSHOT: up to date
Parsing module: tim-spring-security-2.0-1.1.0-SNAPSHOT: up to date
Parsing module: tim-async-processing-1.1.0-SNAPSHOT: up to date
Parsing module: tim-concurrent-collections-1.1.0-SNAPSHOT: up to date
Parsing module: tim-map-evictor-1.1.0-SNAPSHOT: up to date
Your original config file has been saved to C:\Terracotta\Terracotta-3.0.0-ee-stable0....\workspace\examinator\tc-config.xml.original
tc-config.xml.original:
<modules>
<module name="tim-jetty-6.1" version="1.2.0"/>
<module name="tim-hibernate-3.2.5" version="1.3.0"/>
<module name="tim-annotations" version="1.3.0-SNAPSHOT"/>
<module name="tim-spring-security-2.0" version="1.1.0-SNAPSHOT"/>
<module name="tim-async-processing" version="1.1.0-SNAPSHOT"/>
<module name="tim-concurrent-collections" version="1.1.0-SNAPSHOT"/>
<module name="tim-map-evictor" version="1.1.0-SNAPSHOT"/>
</modules>
tc-config.xml:
<modules>
<module name="tim-jetty-6.1" version="1.2.0-SNAPSHOT"/>
<module name="tim-hibernate-3.2.5" version="1.3.0-SNAPSHOT"/>
<module name="tim-annotations" version="1.3.0-SNAPSHOT"/>
<module name="tim-spring-security-2.0" version="1.1.0-SNAPSHOT"/>
<module name="tim-async-processing" version="1.1.0-SNAPSHOT"/>
<module name="tim-concurrent-collections" version="1.1.0-SNAPSHOT"/>
<module name="tim-map-evictor" version="1.1.0-SNAPSHOT"/>
</modules>
on stable0
Internal error: null