Project

General

Profile

Improvement #2049

Updated by Henning Blohm over 4 years ago

The current command line should be unified and extended. 

 h2. Acceptance Criteria 

 The z2 * drop z_embedded.jar and instead enhance the z.jar command line has real commands to: 
 * ** by default act like z_embedded.jar, that is load the named component: Either as IDependencyComponent or as Main class 
 ** optionally: 
 *** compute (as of today - default) today) 
 * *** run -c <Component name> - run a main program component (Main) 
 * start -c <Component name> - (prepare an IDependencyComponent and wait) *** prepare (IDependencyComponent) 
 * ** sync -u <jmx service url> (invoke sync via JMX) <url> (sync and return log until completed) 
 * ** showlog -u <jmx service url> (invoke log streaming via JMX) 

 Options remain: <url> (stream log) 
 * -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 named component 
 * z_embedded.jar is like having run as default with componentName as substitute system property for run. 

Back