Project

General

Profile

Improvement #2049

Updated by Henning Blohm about 5 years ago

The current command line should be unified and extended. 

 h2. Acceptance Criteria 

 A new z_util.jar is introduced: The z2 command line has real commands 
 * compute (as of today - default) 
 * run -c <Component name> - run a main program component 
 * start -c <Component name> - (prepare an IDependencyComponent and wait) 
 * sync -u <jmx service url> (invoke sync via JMX) 
 * showlog -u <jmx service url> (invoke log streaming via JMX) 


 Open: Do we need z_embedded or could we rather: 

 Options remain: 
 * Use -gui 
 * -np 
 * -? 

 Compatibility: 
 * z.jar has compute as default, unless com.zfabrik.home.start is set, in which case it behaves like start for the embedded case named component 
 * z_embedded.jar is like having run as well - behaving default with componentName as z_embedded when there is a -DcomponentName 
 * Allow -DcomponentName point to an IDependencyComponent and if so, prepare that. substitute system property for run. 

Back