geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "toby cabot (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-2900) more readable output from list-modules when there's >1 target
Date Wed, 28 Feb 2007 19:03:56 GMT
more readable output from list-modules when there's >1 target
-------------------------------------------------------------

                 Key: GERONIMO-2900
                 URL: https://issues.apache.org/jira/browse/GERONIMO-2900
             Project: Geronimo
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: usability
    Affects Versions: 1.2
         Environment: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Fedora Core release 4 (Stentz)

            Reporter: toby cabot
            Priority: Minor
             Fix For: 1.2


The output from the cli deployer's list-modules command becomes hard to read when there is
more than one target, since it prints the target for each module.  The target name is long
so you end up with something like:

Found 20 modules
  + org.apache.geronimo.configs/clustering/1.2-SNAPSHOT/car on org.apache.geronimo.configs/j2ee-system/1.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/j2ee-system/1.2-SNAPSHOT/car,j2eeType=ConfigurationStore,name=Local
  + org.apache.geronimo.configs/connector-deployer/1.2-SNAPSHOT/car on org.apache.geronimo.configs/j2ee-system/1.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/j2ee-system/1.2-SNAPSHOT/car,j2eeType=ConfigurationStore,name=Local
  + org.apache.geronimo.configs/geronimo-gbean-deployer/1.2-SNAPSHOT/car on org.apache.geronimo.configs/j2ee-system/1.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/j2ee-system/1.2-SNAPSHOT/car,j2eeType=ConfigurationStore,name=Local
  + org.apache.geronimo.configs/hot-deployer/1.2-SNAPSHOT/car on org.apache.geronimo.configs/j2ee-system/1.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/j2ee-system/1.2-SNAPSHOT/car,j2eeType=ConfigurationStore,name=Local
  + org.apache.geronimo.configs/j2ee-deployer/1.2-SNAPSHOT/car on org.apache.geronimo.configs/j2ee-system/1.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/j2ee-system/1.2-SNAPSHOT/car,j2eeType=ConfigurationStore,name=Local

etc...

This patch changes the output so that if there's more than one target the modules are printed
out per target.  This is much easier to read:

Found 20 modules deployed to 2 targets

 Target org.apache.geronimo.configs/j2ee-system/1.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/j2ee-system/1.2-SNAPSHOT/car,j2eeType=ConfigurationStore,name=Local
  + org.apache.geronimo.configs/clustering/1.2-SNAPSHOT/car
  + org.apache.geronimo.configs/connector-deployer/1.2-SNAPSHOT/car
  + org.apache.geronimo.configs/geronimo-gbean-deployer/1.2-SNAPSHOT/car
  + org.apache.geronimo.configs/hot-deployer/1.2-SNAPSHOT/car
  + org.apache.geronimo.configs/j2ee-deployer/1.2-SNAPSHOT/car
  + org.apache.geronimo.configs/j2ee-security/1.2-SNAPSHOT/car
  + org.apache.geronimo.configs/j2ee-server/1.2-SNAPSHOT/car
  + org.apache.geronimo.configs/j2ee-system/1.2-SNAPSHOT/car
  + org.apache.geronimo.configs/jetty/1.2-SNAPSHOT/car
  + org.apache.geronimo.configs/jetty-deployer/1.2-SNAPSHOT/car
  + org.apache.geronimo.configs/remote-deploy-jetty/1.2-SNAPSHOT/car
  + org.apache.geronimo.configs/rmi-naming/1.2-SNAPSHOT/car
  + org.apache.geronimo.configs/sharedlib/1.2-SNAPSHOT/car
  + org.apache.geronimo.configs/transaction/1.2-SNAPSHOT/car
  + org.apache.geronimo.configs/unavailable-client-deployer/1.2-SNAPSHOT/car
  + org.apache.geronimo.configs/unavailable-ejb-deployer/1.2-SNAPSHOT/car
  + org.apache.geronimo.configs/unavailable-webservices-deployer/1.2-SNAPSHOT/car
    org.apache.geronimo.configs/online-deployer/1.2-SNAPSHOT/car
    org.apache.geronimo.configs/shutdown/1.2-SNAPSHOT/car

 Target org.apache.geronimo.configs/j2ee-system/1.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/j2ee-system/1.2-SNAPSHOT/car,j2eeType=ConfigurationStore,name=Customer
    hello/g6o_RA/1/rar


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message