Spring Roo
  1. Spring Roo
  2. ROO-1877

Show SHA1 hash codes for file system create and update events when in debug mode

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.1.1.RELEASE
    • Component/s: @ CORE
    • Labels:
      None

      Issue Links

        Activity

        Hide
        Ben Alex added a comment -

        The first 7 characters of the sha1sum for a given file create or update operation are now displayed when in development mode.

        I also fixed a bug in XmlUtils where it was not closing the Writer it had opened.

        A new HexUtils utility class was also added to the support module for ease of rendering of byte[] data in hexadecimal format.

        Example output (note the hash codes to the left of each file create/update message):

        roo> script vote.roo
        project --topLevelPackage com.springsource.vote
        4476b23 Created /home/balex/t/pom.xml
        Created SRC_MAIN_JAVA
        Created SRC_MAIN_RESOURCES
        Created SRC_TEST_JAVA
        Created SRC_TEST_RESOURCES
        Created SRC_MAIN_WEBAPP
        Created SRC_MAIN_RESOURCES/META-INF/spring
        bfdef19 Created SRC_MAIN_RESOURCES/META-INF/spring/applicationContext.xml
        53126d9 Created SRC_MAIN_RESOURCES/log4j.properties
        

        Git commit e4bb2929ce8bd534b84490b5d0811730d08f0a12

        Show
        Ben Alex added a comment - The first 7 characters of the sha1sum for a given file create or update operation are now displayed when in development mode. I also fixed a bug in XmlUtils where it was not closing the Writer it had opened. A new HexUtils utility class was also added to the support module for ease of rendering of byte[] data in hexadecimal format. Example output (note the hash codes to the left of each file create/update message): roo> script vote.roo project --topLevelPackage com.springsource.vote 4476b23 Created /home/balex/t/pom.xml Created SRC_MAIN_JAVA Created SRC_MAIN_RESOURCES Created SRC_TEST_JAVA Created SRC_TEST_RESOURCES Created SRC_MAIN_WEBAPP Created SRC_MAIN_RESOURCES/META-INF/spring bfdef19 Created SRC_MAIN_RESOURCES/META-INF/spring/applicationContext.xml 53126d9 Created SRC_MAIN_RESOURCES/log4j.properties Git commit e4bb2929ce8bd534b84490b5d0811730d08f0a12

          People

          • Assignee:
            Ben Alex
            Reporter:
            Ben Alex
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: