You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Mahadev konar (JIRA)" <ji...@apache.org> on 2008/10/24 01:02:44 UTC
[jira] Commented: (ZOOKEEPER-205) Error on version-info when
compiling from the tarball distribution
[ https://issues.apache.org/jira/browse/ZOOKEEPER-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642333#action_12642333 ]
Mahadev konar commented on ZOOKEEPER-205:
-----------------------------------------
yes, the script should just return 0.0.0 in case it fails to do svn revision...
> Error on version-info when compiling from the tarball distribution
> ------------------------------------------------------------------
>
> Key: ZOOKEEPER-205
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-205
> Project: Zookeeper
> Issue Type: Bug
> Affects Versions: 3.0.0
> Reporter: Flavio Paiva Junqueira
> Priority: Minor
> Fix For: 3.1.0
>
>
> When running ant with the code from the release tarball, I get the following messages and stack trace:
> {noformat}
> 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
> {noformat}
> This seems to be because the code is not coming from svn, so it can't find the version information.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.