Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-2812

Make output of "metadata" commands more readable

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Complete
    • Affects Version/s: 1.2.0.M1
    • Fix Version/s: 1.2.0.RC1
    • Component/s: @ CORE
    • Labels:
      None

      Description

      Currently the output of the "metadata status" command is cluttered with leading zeroes, for example:

      172000 ns; 000062 call(s): org.springframework.roo.project.AutomaticProjectUpgradeService
      421000 ns; 000010 call(s): org.springframework.roo.addon.gwt.request.GwtRequestMetadata
      443000 ns; 000010 call(s): org.springframework.roo.addon.gwt.locator.GwtLocatorMetadata
      482000 ns; 000010 call(s): org.springframework.roo.addon.gwt.proxy.GwtProxyMetadata
      494000 ns; 000010 call(s): org.springframework.roo.addon.gwt.scaffold.GwtScaffoldMetadataProviderImpl
      644000 ns; 000010 call(s): org.springframework.roo.addon.layers.service.ServiceInterfaceMetadata
      682000 ns; 000010 call(s): org.springframework.roo.addon.layers.repository.jpa.RepositoryJpaMetadata
      713000 ns; 000010 call(s): org.springframework.roo.addon.layers.repository.mongo.RepositoryMongoMetadata
      782000 ns; 000010 call(s): org.springframework.roo.addon.solr.SolrMetadata
      794000 ns; 000010 call(s): org.springframework.roo.addon.serializable.SerializableMetadata
      813000 ns; 000010 call(s): org.springframework.roo.addon.json.JsonMetadata
      852000 ns; 000010 call(s): org.springframework.roo.addon.entity.IdentifierMetadata
      883000 ns; 000010 call(s): org.springframework.roo.addon.web.mvc.controller.finder.WebFinderMetadata
      891000 ns; 000010 call(s): org.springframework.roo.addon.dbre.DbreMetadata
      895000 ns; 000010 call(s): org.springframework.roo.addon.property.editor.EditorMetadata
      926000 ns; 000010 call(s): org.springframework.roo.addon.solr.SolrWebSearchMetadata
      935000 ns; 000010 call(s): org.springframework.roo.addon.web.mvc.controller.json.WebJsonMetadata
      000001 ms; 000010 call(s): org.springframework.roo.addon.op4j.Op4jMetadata
      000001 ms; 000010 call(s): org.springframework.roo.addon.javabean.JavaBeanMetadata

      The numeric parts would be more readable if the leading zeroes were replaced with spaces, for example:

      182000 ns;    62 call(s): org.springframework.roo.project.AutomaticProjectUpgradeService
      425000 ns;    10 call(s): org.springframework.roo.addon.gwt.request.GwtRequestMetadata
      442000 ns;    10 call(s): org.springframework.roo.addon.gwt.proxy.GwtProxyMetadata
      448000 ns;    10 call(s): org.springframework.roo.addon.gwt.scaffold.GwtScaffoldMetadataProviderImpl
      452000 ns;    10 call(s): org.springframework.roo.addon.gwt.locator.GwtLocatorMetadata
      604000 ns;    10 call(s): org.springframework.roo.addon.layers.service.ServiceClassMetadata
      607000 ns;    10 call(s): org.springframework.roo.addon.layers.service.ServiceInterfaceMetadata
      618000 ns;    10 call(s): org.springframework.roo.addon.layers.repository.jpa.RepositoryJpaMetadata
      696000 ns;    10 call(s): org.springframework.roo.addon.json.JsonMetadata
      706000 ns;    10 call(s): org.springframework.roo.addon.layers.repository.mongo.RepositoryMongoMetadata
      732000 ns;    10 call(s): org.springframework.roo.addon.solr.SolrWebSearchMetadata
      745000 ns;    10 call(s): org.springframework.roo.addon.dbre.DbreMetadata
      749000 ns;    10 call(s): org.springframework.roo.addon.solr.SolrMetadata
      797000 ns;    10 call(s): org.springframework.roo.addon.entity.IdentifierMetadata
      848000 ns;    10 call(s): org.springframework.roo.addon.property.editor.EditorMetadata
      865000 ns;    10 call(s): org.springframework.roo.addon.web.mvc.controller.finder.WebFinderMetadata
      899000 ns;    10 call(s): org.springframework.roo.addon.web.mvc.controller.json.WebJsonMetadata
      934000 ns;    10 call(s): org.springframework.roo.addon.op4j.Op4jMetadata
           1 ms;    10 call(s): org.springframework.roo.addon.javabean.JavaBeanMetadata
           2 ms;    10 call(s): org.springframework.roo.addon.serializable.SerializableMetadata

        Attachments

          Activity

            People

            Assignee:
            aswan Andrew Swan
            Reporter:
            aswan Andrew Swan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: