Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-205

Error on version-info when compiling from the tarball distribution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.0.0
    • 3.1.0
    • None
    • None

    Description

      When running ant with the code from the release tarball, I get the following messages and stack trace:

      svn-revision:
           [exec] svn: '.' is not a working copy
      
      version-info:
           [java] All version-related parameters must be valid integers!
           [java] Exception in thread "main" java.lang.NumberFormatException: For input string: ""
           [java]     at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
           [java]     at java.lang.Integer.parseInt(Integer.java:468)
           [java]     at java.lang.Integer.parseInt(Integer.java:497)
           [java]     at org.apache.zookeeper.version.util.VerGen.main(VerGen.java:111)
           [java] Java Result: 1
      

      This seems to be because the code is not coming from svn, so it can't find the version information.

      Attachments

        1. ZOOKEEPER-205.patch
          0.4 kB
          Mahadev Konar

        Issue Links

          Activity

            People

              mahadev Mahadev Konar
              fpj Flavio Paiva Junqueira
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: